Http\Response::setContentLength

public setContentLength (mixed $contentLength) Sets the response content-length $response->setContentLength(2048);

Tag::checkField

public static string checkField (array $parameters) Builds a HTML input[type=”check”] tag echo Phalcon\Tag::checkField(array("terms", "value" => "Y")); Volt syntax: {{ check_field("terms") }}

Mvc\Router\Annotations::URI_SOURCE_GET_URL

integer URI_SOURCE_GET_URL

Mvc\Micro::handle

public mixed handle ([string $uri]) Handle the whole request

Cache\Frontend\Base64

implements Phalcon\Cache\FrontendInterface Source on GitHub Allows to cache data converting/deconverting them to base64. This adapter uses the base64_encode/base64_decode PHP’s functions <?php // Cache the files for 2 days using a Base64 frontend $frontCache = new \Phalcon\Cache\Frontend\Base64(array( "lifetime" => 172800 )); //Create a MongoDB cache $cache = new \Phalcon\Cache\Backend\Mongo($frontCache, array( 'server' => "mongodb://localhost", 'db' => 'caches'

Validation::getEntity

public object getEntity () Returns the bound entity

Translate\Adapter\Gettext::getCategory

public getCategory ()

Mvc\Model\Validator\StringLength

extends abstract class Phalcon\Mvc\Model\Validator implements Phalcon\Mvc\Model\ValidatorInterface Source on GitHub Simply validates specified string length constraints use Phalcon\Mvc\Model\Validator\StringLength as StringLengthValidator; class Subscriptors extends \Phalcon\Mvc\Model { public function validation() { $this->validate(new StringLengthValidator(array( "field" => 'name_last', 'max' => 50, 'min' => 2, 'messageMaximum'

Assets\Collection::getTargetUri

public getTargetUri () ...

Assets\Collection::setSourcePath

public setSourcePath (mixed $sourcePath) Sets a base source path for all the resources in this collection