Filter\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Mvc\Model\MetaData\Xcache::MODELS_AUTOMATIC_DEFAULT_UPDATE

integer MODELS_AUTOMATIC_DEFAULT_UPDATE

Cache\Backend\Memcache::increment

public long increment ([string $keyName], [long $value]) Increment of given $keyName by $value

Flash\Session

extends abstract class Phalcon\Flash implements Phalcon\Di\InjectionAwareInterface, Phalcon\FlashInterface Source on GitHub Temporarily stores the messages in session, then messages can be printed in the next request Methods protected _getSessionMessages (mixed $remove, [mixed $type]) Returns the messages stored in session protected _setSessionMessages (array $messages) Stores the messages in session public message (mixed $type, mixed $message) Adds a message to the session flasher public has (

Db\Profiler

Source on GitHub Instances of Phalcon\Db can generate execution profiles on SQL statements sent to the relational database. Profiled information includes execution time in milliseconds. This helps you to identify bottlenecks in your applications. $profiler = new \Phalcon\Db\Profiler(); //Set the connection profiler $connection->setProfiler($profiler); $sql = "SELECT buyer_name, quantity, product_name FROM buyers LEFT JOIN products ON buyers.pid=products.id"; //Execute a SQL statement $con

Tag::linkTo

public static string linkTo (array | string $parameters, [string $text], [boolean $local]) Builds a HTML A tag using framework conventions echo Phalcon\Tag::linkTo("signup/register", "Register Here!"); echo Phalcon\Tag::linkTo(array("signup/register", "Register Here!")); echo Phalcon\Tag::linkTo(array("signup/register", "Register Here!", "class" => "btn-primary")); echo Phalcon\Tag::linkTo("http://phalconphp.com/", "Phalcon", FALSE); echo Phalcon\Tag::linkTo(array("http://phalconphp.com/

Security::setRandomBytes

public setRandomBytes (mixed $randomBytes) Sets a number of bytes to be generated by the openssl pseudo random generator

Security::hasLibreSsl

public hasLibreSsl () Testing for LibreSSL

Mvc\Micro\CollectionInterface::get

abstract public get (mixed $routePattern, mixed $handler, [mixed $name]) ...

Assets\Inline

Source on GitHub Represents an inline asset $inline = new \Phalcon\Assets\Inline('js', 'alert("hello world");'); Methods public getType () ... public getContent () ... public getFilter () ... public getAttributes () ... public __construct (string $type, string $content, [boolean $filter], [array $attributes]) Phalcon\Assets\Inline constructor public setType (mixed $type) Sets the inline’s type public setFilter (mixed $filter) Sets if the resource must be filtered or not public setAttributes (a