Security\Random

Source on GitHub Secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etc. It supports following secure random number generators: - random_bytes (PHP 7) - libsodium - openssl, libressl - /dev/urandom Phalcon\Security\Random could be mainly useful for: - Key generation (e.g. generation of complicated keys) - Generating random passwords for new user accounts - Encryption systems $random = new \Phalcon\Security\

Mvc\Model\Criteria::where

public where (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) Sets the conditions parameter in the criteria

Mvc\Model\MetaData\Memcache::MODELS_DATE_AT

integer MODELS_DATE_AT

Logger\Adapter\Syslog::logInternal

public logInternal (string $message, int $type, int $time, array $context) Writes the log to the stream itself

Db\Adapter::addIndex

public addIndex (mixed $tableName, mixed $schemaName, Phalcon\Db\IndexInterface $index) Adds an index to a table

Mvc\Model::cloneResultMap

public static cloneResultMap (Phalcon\Mvc\ModelInterface | Phalcon\Mvc\Model\Row $base, array $data, array $columnMap, [int $dirtyState], [boolean $keepSnapshots]) Assigns values to a model from an array returning a new model. $robot = \Phalcon\Mvc\Model::cloneResultMap(new Robots(), array( 'type' => 'mechanical', 'name' => 'Astro Boy', 'year' => 1952 ));

Db\Profiler\Item::setFinalTime

public setFinalTime (mixed $finalTime) Timestamp when the profile ended

Mvc\Collection\Manager::setConnectionService

public setConnectionService (Phalcon\Mvc\CollectionInterface $model, mixed $connectionService) Sets a connection service for a specific model

Db\DialectInterface::describeReferences

abstract public describeReferences (mixed $table, [mixed $schema]) ...

Db\Adapter\Pdo\Sqlite::describeColumns

public describeColumns (mixed $table, [mixed $schema]) Returns an array of Phalcon\Db\Column objects describing a table print_r($connection->describeColumns("posts"));