Mvc\Model\MetaData\Strategy\Introspection

implements Phalcon\Mvc\Model\MetaData\StrategyInterface Source on GitHub Queries the table meta-data in order to introspect the model’s metadata Methods final public getMetaData (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector) The meta-data is obtained by reading the column descriptions from the database information schema final public getColumnMaps (Phalcon\Mvc\ModelInterface $model, Phalcon\DiInterface $dependencyInjector) Read the model’s column map, this can’t be

Session\Adapter::status

public status () Returns the status of the current session. var_dump($session->status()); if ($session->status() !== $session::SESSION_ACTIVE) { $session->start(); }

Mvc\Collection\Behavior\Timestampable

extends abstract class Phalcon\Mvc\Collection\Behavior implements Phalcon\Mvc\Collection\BehaviorInterface Source on GitHub Allows to automatically update a model’s attribute saving the datetime when a record is created or updated Methods public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Collection\Behavior Phalcon\Mvc\Collection\Behavior protected mustTakeAction

Tag::tagHtml

public static tagHtml (mixed $tagName, [mixed $parameters], [mixed $selfClose], [mixed $onlyStart], [mixed $useEol]) Builds a HTML tag echo Phalcon\Tag::tagHtml(name, parameters, selfClose, onlyStart, eol);

Validation\ValidatorInterface

Source on GitHub Methods abstract public hasOption (mixed $key) ... abstract public getOption (mixed $key, [mixed $defaultValue]) ... abstract public validate (Phalcon\Validation $validation, mixed $attribute) ...

Paginator\Adapter\Model

extends abstract class Phalcon\Paginator\Adapter implements Phalcon\Paginator\AdapterInterface Source on GitHub This adapter allows to paginate data using a Phalcon\Mvc\Model resultset as a base. use Phalcon\Paginator\Adapter\Model; $paginator = new Model( [ 'data' => Robots::find(), 'limit' => 25, 'page' => $currentPage ] ); $paginate = $paginator->getPaginate(); Methods public __construct (array $config) Phalcon\Paginator\Adapter\Model

Db\Reference::getReferencedSchema

public getReferencedSchema () ...

Dispatcher::getActiveMethod

public getActiveMethod () Returns the current method to be/executed in the dispatcher

Forms\Element::getFilters

public mixed getFilters () Returns the element filters

Session\Adapter

implements Phalcon\Session\AdapterInterface Source on GitHub Base class for Phalcon\Session adapters Constants integer SESSION_ACTIVE integer SESSION_NONE integer SESSION_DISABLED Methods public __construct ([array $options]) Phalcon\Session\Adapter constructor public start () Starts the session (if headers are already sent the session will not be started) public setOptions (array $options) Sets session’s options $session->setOptions(['uniqueId' => 'my-private-app']); public getOpt