Mvc\Model\MetaData\Apc::read

public read (mixed $key) Reads meta-data from APC

Acl\Adapter\Memory::addRole

public addRole (RoleInterface | string $role, [array | string $accessInherits]) Adds a role to the ACL list. Second parameter allows inheriting access data from other existing role Example: $acl->addRole(new Phalcon\Acl\Role('administrator'), 'consultant'); $acl->addRole('administrator', 'consultant');

Assets\Manager::addInlineCss

public addInlineCss (mixed $content, [mixed $filter], [mixed $attributes]) Adds an inline Css to the ‘css’ collection

Mvc\Collection::validationHasFailed

public validationHasFailed () Check whether validation process has generated any messages use Phalcon\Mvc\Model\Validator\ExclusionIn as ExclusionIn; class Subscriptors extends \Phalcon\Mvc\Collection { public function validation() { this->validate(new ExclusionIn(array( 'field' => 'status', 'domain' => array('A', 'I') ))); if (this->validationHasFailed() == true) { return false; } } }

Mvc\View::LEVEL_BEFORE_TEMPLATE

integer LEVEL_BEFORE_TEMPLATE

Forms\Element\Numeric::render

public render ([array $attributes]) Renders the element widget returning html

Http\Response

implements Phalcon\Http\ResponseInterface, Phalcon\Di\InjectionAwareInterface Source on GitHub Part of the HTTP cycle is return responses to the clients. Phalcon\HTTP\Response is the Phalcon component responsible to achieve this task. HTTP responses are usually composed by headers and body. $response = new \Phalcon\Http\Response(); $response->setStatusCode(200, "OK"); $response->setContent("<html><body>Hello</body></html>"); $response->send(); Methods public __

Mvc\Model\Resultset\Simple

extends abstract class Phalcon\Mvc\Model\Resultset implements JsonSerializable, Serializable, ArrayAccess, Countable, SeekableIterator, Traversable, Iterator, Phalcon\Mvc\Model\ResultsetInterface Source on GitHub Simple resultsets only contains a complete objects This class builds every complete object as it is required Constants integer TYPE_RESULT_FULL integer TYPE_RESULT_PARTIAL integer HYDRATE_RECORDS integer HYDRATE_OBJECTS integer HYDRATE_ARRAYS Methods public __construct (array

Cache\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Http\Response::setContent

public setContent (mixed $content) Sets HTTP response body response->setContent("<h1>Hello!</h1>");