Mvc\Router::addPatch

public addPatch (mixed $pattern, [mixed $paths], [mixed $position]) Adds a route to the router that only match if the HTTP method is PATCH

Cli\Dispatcher::EXCEPTION_INVALID_PARAMS

integer EXCEPTION_INVALID_PARAMS

Mvc\Model\Query\BuilderInterface::getPhql

abstract public getPhql () ...

Debug\Dump::toJson

public toJson (mixed $variable) Returns an JSON string of information about a single variable. $foo = ["key" => "value"]; echo (new \Phalcon\Debug\Dump())->toJson($foo); $foo = new stdClass(); $foo->bar = 'buz'; echo (new \Phalcon\Debug\Dump())->toJson($foo);

Mvc\View\Engine\Volt\Exception

extends class Phalcon\Mvc\View\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

Mvc\Model\Transaction\Failed

extends class Phalcon\Mvc\Model\Transaction\Exception implements Throwable Source on GitHub This class will be thrown to exit a try/catch block for isolated transactions Methods public __construct (mixed $message, [Phalcon\Mvc\ModelInterface $record]) Phalcon\Mvc\Model\Transaction\Failed constructor public getRecordMessages () Returns validation record messages which stop the transaction public getRecord () Returns validation record messages which stop the transaction final private Exception __

Cache\Frontend\Igbinary

extends class Phalcon\Cache\Frontend\Data implements Phalcon\Cache\FrontendInterface Source on GitHub Allows to cache native PHP data in a serialized form using igbinary extension // Cache the files for 2 days using Igbinary frontend $frontCache = new \Phalcon\Cache\Frontend\Igbinary(array( "lifetime" => 172800 )); // Create the component that will cache "Igbinary" to a "File" backend // Set the cache file directory - important to keep the "/" at the end of // of the value for the folde

Tag\Select

Source on GitHub Generates a SELECT html tag using a static array of values or a Phalcon\Mvc\Model resultset Methods public static selectField (array $parameters, [array $data]) Generates a SELECT tag private static _optionsFromResultset (Phalcon\Mvc\Model\Resultset $resultset, array $using, mixed $value, string $closeOption) Generate the OPTION tags based on a resultset private static _optionsFromArray (array $data, mixed $value, string $closeOption) Generate the OPTION tags based on an array

Forms

Phalcon\Forms is a component that aids you in the creation and maintenance of forms in web applications. The following example shows its basic usage: use Phalcon\Forms\Form; use Phalcon\Forms\Element\Text; use Phalcon\Forms\Element\Select; $form = new Form(); $form->add( new Text( "name" ) ); $form->add( new Text( "telephone" ) ); $form->add( new Select( "telephoneType", [ "H" => "Home", "C" => "Cell"

Forms\Element::getDefault

public getDefault () Returns the default value assigned to the element