public flush () Immediately invalidates all existing items.
integer MODELS_NOT_NULL
public boolean exists ([string $keyName], [long $lifetime]) Checks if cache exists and it isn’t expired
public columns (mixed $columns) Sets the columns to be queried $builder->columns("id, name"); $builder->columns(array('id', 'name')); $builder->columns(array('name', 'number' => 'COUNT(*)'));
public base64 ([mixed $len]) Generates a random base64 string If $len is not specified, 16 is assumed. It may be larger in future. The length of the result string is usually greater of $len. Size formula: 4 *( $len / 3) and this need to be rounded up to a multiple of 4. $random = new \Phalcon\Security\Random(); echo $random->base64(12); // 3rcq39QzGK9fUqh8
public isBuffering () Check whether if frontend is buffering output
abstract public addPut (mixed $pattern, [mixed $paths]) ...
public static count ([array $parameters]) Perform a count over a collection echo 'There are ', Robots::count(), ' robots';
public string beforeStore (mixed $data) Serializes data before storing them
public addServers (mixed $host, mixed $port, [mixed $persistent]) Add servers to memcache pool
Page 143 of 382