Mvc\Model::jsonSerialize

public array jsonSerialize () Serializes the object for json_encode echo json_encode($robot);

Db\Column::TYPE_JSONB

integer TYPE_JSONB

Http\ResponseInterface::sendHeaders

abstract public sendHeaders () ...

Mvc\Collection::setId

public setId (mixed $id) Sets a value for the _id property, creates a MongoId object if needed

Cache\Frontend\None::getContent

public string getContent () Returns output cached content

Mvc\Model\Message

implements Phalcon\Mvc\Model\MessageInterface Source on GitHub Encapsulates validation info generated before save/delete records fails use Phalcon\Mvc\Model\Message as Message; class Robots extends \Phalcon\Mvc\Model { public function beforeSave() { if ($this->name == 'Peter') { $text = "A robot cannot be named Peter"; $field = "name"; $type = "InvalidValue"; $message = new Message($text, $field, $type); $this->appendMessage($mes

Mvc\Model\MetaData::MODELS_ATTRIBUTES

integer MODELS_ATTRIBUTES

Cache\Multiple::save

public save ([string $keyName], [string $content], [long $lifetime], [boolean $stopBuffer]) Stores cached content into all backends and stops the frontend

Forms\ElementInterface::setAttributes

abstract public setAttributes (array $attributes) ...

Cli\Router::setDefaults

public setDefaults (array $defaults) Sets an array of default paths. If a route is missing a path the router will use the defined here This method must not be used to set a 404 route $router->setDefaults(array( 'module' => 'common', 'action' => 'index' ));