Mvc\Router::getRewriteUri

public getRewriteUri () Get rewrite info. This info is read from $_GET[‘_url’]. This returns ‘/’ if the rewrite information cannot be read

Cache\Frontend\Data::getContent

public string getContent () Returns output cached content

Annotations\Collection::count

public count () Returns the number of annotations in the collection

Forms\ElementInterface::prepareAttributes

abstract public prepareAttributes ([array $attributes], [mixed $useChecked]) ...

Cache\Frontend\Base64::getContent

public string getContent () Returns output cached content

Mvc\View\Engine::getView

public getView () Returns the view component related to the adapter

Mvc\Model::getDirtyState

public getDirtyState () Returns one of the DIRTY_STATE_* constants telling if the record exists in the database or not

Mvc\Collection::findById

public static findById (mixed $id) Find a document by its id (_id) // Find user by using \MongoId object $user = Users::findById(new \MongoId('545eb081631d16153a293a66')); // Find user by using id as sting $user = Users::findById('45cbc4a0e4123f6920000002'); // Validate input if ($user = Users::findById($_POST['id'])) { // ... }

Multi-lingual Support

The component Phalcon\Translate aids in creating multilingual applications. Applications using this component, display content in different languages, based on the user’s chosen language supported by the application. Adapters This component makes use of adapters to read translation messages from different sources in a unified way. Adapter Description Phalcon\Translate\Adapter\NativeArray Uses PHP arrays to store the messages. This is the best option in terms of performance. Component Usage Tr

Cache\Backend\Xcache::queryKeys

public array queryKeys ([string $prefix]) Query the existing cached keys