Security\Random::number

public number (mixed $len) Generates a random number between 0 and $len Returns an integer: 0 <= result <= $len. $random = new \Phalcon\Security\Random(); echo $random->number(16); // 8

Mvc\Model\Manager::initialize

public initialize (Phalcon\Mvc\ModelInterface $model) Initializes a model in the model manager

Logger\Multiple::notice

public notice (mixed $message, [array $context]) Sends/Writes a notice message to the log

Logger\Adapter::isTransaction

public isTransaction () Returns the whether the logger is currently in an active transaction or not

Image\Adapter::flip

public flip (mixed $direction) Flip the image along the horizontal or vertical axis

Tutorial 4: Working with the CRUD

Backends usually provide forms to allow users to manipulate data. Continuing the explanation of INVO, we now address the creation of CRUDs, a very common task that Phalcon will facilitate you using forms, validations, paginators and more. Most options that manipulate data in INVO (companies, products and types of products) were developed using a basic and common CRUD (Create, Read, Update and Delete). Each CRUD contains the following files: invo/ app/ controllers/ Produc

Cli\Dispatcher::getActiveTask

public getActiveTask () Returns the active task in the dispatcher

Loader::getFoundPath

public getFoundPath () Get the path when a class was found

Forms\ElementInterface::setUserOptions

abstract public setUserOptions (array $options) ...

Mvc\Model::DIRTY_STATE_DETACHED

integer DIRTY_STATE_DETACHED