Di\InjectionAwareInterface

Source on GitHub Methods abstract public setDI (Phalcon\DiInterface $dependencyInjector) ... abstract public getDI () ...

Cache\Frontend\Base64

implements Phalcon\Cache\FrontendInterface Source on GitHub Allows to cache data converting/deconverting them to base64. This adapter uses the base64_encode/base64_decode PHP’s functions <?php // Cache the files for 2 days using a Base64 frontend $frontCache = new \Phalcon\Cache\Frontend\Base64(array( "lifetime" => 172800 )); //Create a MongoDB cache $cache = new \Phalcon\Cache\Backend\Mongo($frontCache, array( 'server' => "mongodb://localhost", 'db' => 'caches'

Mvc\View\Engine\Volt\Compiler::getFunctions

public getFunctions () Register the user registered functions

Mvc\Model\Resultset::rewind

final public rewind () Rewinds resultset to its beginning

Validation\Validator\Digit

extends abstract class Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface Source on GitHub Check for numeric character(s) use Phalcon\Validation\Validator\Digit as DigitValidator; $validator->add('height', new DigitValidator([ 'message' => ':field must be numeric' ])); $validator->add(['height', 'width'], new DigitValidator([ 'message' => [ 'height' => 'height must be numeric', 'width' => 'width must be numeric'

Debug\Dump::one

public one (mixed $variable, [mixed $name]) Alias of variable() method

Annotations\AdapterInterface

Source on GitHub Methods abstract public setReader (Phalcon\Annotations\ReaderInterface $reader) ... abstract public getReader () ... abstract public get (mixed $className) ... abstract public getMethods (mixed $className) ... abstract public getMethod (mixed $className, mixed $methodName) ... abstract public getProperties (mixed $className) ... abstract public getProperty (mixed $className, mixed $propertyName) ...

Mvc\Model\Criteria::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the DependencyInjector container

Annotations\Adapter\Xcache

extends abstract class Phalcon\Annotations\Adapter implements Phalcon\Annotations\AdapterInterface Source on GitHub Stores the parsed annotations to XCache. This adapter is suitable for production $annotations = new \Phalcon\Annotations\Adapter\Xcache(); Methods public Phalcon\Annotations\Reflection read (string $key) Reads parsed annotations from XCache public write (mixed $key, Phalcon\Annotations\Reflection $data) Writes parsed annotations to XCache public setReader (Phalcon\Annotations\Rea

Mvc\ViewInterface::cleanTemplateBefore

abstract public cleanTemplateBefore () ...