Mvc\Model\Query::setType

public setType (mixed $type) Sets the type of PHQL statement to be executed

Understanding How Phalcon Applications Work

If you’ve been following the tutorial or have generated the code using Phalcon Devtools, you may recognize the following bootstrap file: use Phalcon\Mvc\Application; // Register autoloaders // ... // Register services // ... // Handle the request $application = new Application($di); try { $response = $application->handle(); $response->send(); } catch (\Exception $e) { echo "Exception: ", $e->getMessage(); } The core of all the work of the controller occurs when handle

Tag::numericField

public static string numericField (array $parameters) Builds a HTML input[type=”number”] tag echo Phalcon\Tag::numericField(array("price", "min" => "1", "max" => "5"));

Mvc\Model\Query\BuilderInterface::orWhere

abstract public orWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) ...

Image\AdapterInterface

Source on GitHub Methods abstract public resize ([mixed $width], [mixed $height], [mixed $master]) ... abstract public crop (mixed $width, mixed $height, [mixed $offsetX], [mixed $offsetY]) ... abstract public rotate (mixed $degrees) ... abstract public flip (mixed $direction) ... abstract public sharpen (mixed $amount) ... abstract public reflection (mixed $height, [mixed $opacity], [mixed $fadeIn]) ... abstract public watermark (Phalcon\Image\Adapter $watermark, [mixed $offsetX], [mixed $offs

Forms\Form::setAction

public setAction (mixed $action) Sets the form’s action

Security\Random::base64Safe

public base64Safe ([mixed $len], [mixed $padding]) Generates a random URL-safe 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. By default, padding is not generated because “=” may be used as a URL delimiter. The result may contain A-Z, a-z, 0-9, “-” and “_”. “=” is also used if $padding is true. See RFC 3548 for the definition of URL-safe base64. $random = new \Phalcon\Security\Random(); echo $rand

Mvc\Model\Manager::getHasMany

public getHasMany (Phalcon\Mvc\ModelInterface $model) Gets hasMany relations defined on a model

Mvc\Collection\Behavior\SoftDelete

extends abstract class Phalcon\Mvc\Collection\Behavior implements Phalcon\Mvc\Collection\BehaviorInterface Source on GitHub Instead of permanently delete a record it marks the record as deleted changing the value of a flag column Methods public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) Listens for notifications from the models manager public __construct ([array $options]) inherited from Phalcon\Mvc\Collection\Behavior Phalcon\Mvc\Collection\Behavior protected mustTakeAction

Tag::endForm

public static endForm () Builds a HTML close FORM tag