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 ));

Assets\Collection::getLocal

public getLocal () ...

Assets\Resource::getSourcePath

public getSourcePath () ...

Reading Configurations

Phalcon\Config is a component used to convert configuration files of various formats (using adapters) into PHP objects for use in an application. Native Arrays The first example shows how to convert native arrays into Phalcon\Config objects. This option offers the best performance since no files are read during this request. use Phalcon\Config; $settings = [ "database" => [ "adapter" => "Mysql", "host" => "localhost", "username" => "scott",

Di\Service::isShared

public isShared () Check whether the service is shared or not

Http\Cookie::setHttpOnly

public setHttpOnly (mixed $httpOnly) Sets if the cookie is accessible only through the HTTP protocol

Cache\Backend\Libmemcached

extends abstract class Phalcon\Cache\Backend implements Phalcon\Cache\BackendInterface Source on GitHub Allows to cache output fragments, PHP data or raw data to a libmemcached backend. Per default persistent memcached connection pools are used. use Phalcon\Cache\Backend\Libmemcached; use Phalcon\Cache\Frontend\Data as FrontData; // Cache data for 2 days $frontCache = new FrontData([ 'lifetime' => 172800 ]); // Create the Cache setting memcached connection options $cache = new L

Mvc\Model\Relation::isForeignKey

public isForeignKey () Check whether the relation act as a foreign key

Mvc\Model\MetaDataInterface::writeMetaDataIndex

abstract public writeMetaDataIndex (Phalcon\Mvc\ModelInterface $model, mixed $index, mixed $data) ...

Cache\Backend\Memory::increment

public long increment ([string $keyName], [mixed $value]) Increment of given $keyName by $value