Db\ResultInterface::fetchAll

abstract public fetchAll () ...

Assets\Resource

Source on GitHub Represents an asset resource $resource = new \Phalcon\Assets\Resource('js', 'javascripts/jquery.js'); Methods public getType () public getPath () public getLocal () public getFilter () public getAttributes () public getSourcePath () ... public getTargetPath () ... public getTargetUri () ... public __construct (string $type, string $path, [boolean $local], [boolean $filter], [array $attributes]) Phalcon\Assets\Resource constructor public setType (mixed $type) Sets the resource’

Flash::warning

public warning (mixed $message) Shows a HTML warning message $flash->warning('Hey, this is important');

Session\BagInterface::initialize

abstract public initialize () ...

Mvc\Router\Annotations::handle

public handle ([mixed $uri]) Produce the routing parameters from the rewrite information

Translate\Adapter\Gettext::setDomain

public setDomain (mixed $domain) Changes the current domain (i.e. the translation file)

Logger\AdapterInterface::setLogLevel

abstract public setLogLevel (mixed $level) ...

Mvc\Model\Resultset\Complex::TYPE_RESULT_FULL

integer TYPE_RESULT_FULL

Working with Models (Advanced)

Hydration Modes As mentioned previously, resultsets are collections of complete objects, this means that every returned result is an object representing a row in the database. These objects can be modified and saved again to persistence: use Store\Toys\Robots; $robots = Robots::find(); // Manipulating a resultset of complete objects foreach ($robots as $robot) { $robot->year = 2000; $robot->save(); } Sometimes records are obtained only to be presented to a user in read-only mo

Forms\Element::setAttribute

public Phalcon\Forms\ElementInterface setAttribute (string $attribute, mixed $value) Sets a default attribute for the element