public set (mixed $name, mixed $definition, [mixed $shared]) Registers a service in the services container
public getQueryBuilder () Get query builder object
integer SESSION_ACTIVE
public getEmptyStringAttributes (Phalcon\Mvc\ModelInterface $model) Returns attributes allow empty strings print_r($metaData->getEmptyStringAttributes(new Robots()));
abstract public orWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) ...
extends abstract class Phalcon\Cache\Backend implements Phalcon\Cache\BackendInterface Source on GitHub Allows to cache output fragments using a file backend use Phalcon\Cache\Backend\File; use Phalcon\Cache\Frontend\Output as FrontOutput; // Cache the file for 2 days $frontendOptions = [ 'lifetime' => 172800 ]; // Create an output cache $frontCache = FrontOutput($frontOptions); // Set the cache directory $backendOptions = [ 'cacheDir' => '../app/cache/' ]; // Crea
Source on GitHub Methods abstract public getName () ... abstract public getSchemaName () ... abstract public getReferencedSchema () ... abstract public getColumns () ... abstract public getReferencedTable () ... abstract public getReferencedColumns () ... abstract public getOnDelete () ... abstract public getOnUpdate () ... abstract public static __set_state (array $data) ...
public setQueryBuilder (Phalcon\Mvc\Model\Query\Builder $builder) Set query builder object
abstract public getReadConnectionService (Phalcon\Mvc\ModelInterface $model) ...
public getRelations (mixed $modelName) Query all the relationships defined on a model
Page 266 of 382