Db\Index::getColumns

public getColumns () Index columns

Mvc\Model::average

public static double average ([array $parameters]) Allows to calculate the average value on a column matching the specified conditions //What's the average price of robots? $average = Robots::average(array('column' => 'price')); echo "The average price is ", $average, "\n"; //What's the average price of mechanical robots? $average = Robots::average(array("type='mechanical'", 'column' => 'price')); echo "The average price of mechanical robots is ", $average, "\n";

Forms\Element::getMessages

public getMessages () Returns the messages that belongs to the element The element needs to be attached to a form

Mvc\View\Simple::__set

public __set (mixed $key, mixed $value) Magic method to pass variables to the views $this->view->products = $products;

Mvc\Micro\Collection::patch

public Phalcon\Mvc\Micro\Collection patch (string $routePattern, callable $handler, [string $name]) Maps a route to a handler that only matches if the HTTP method is PATCH

Mvc\Model::setConnectionService

public setConnectionService (mixed $connectionService) Sets the DependencyInjection connection service name

Session\Bag::initialize

public initialize () Initializes the session bag. This method must not be called directly, the class calls it when its internal data is accessed

Mvc\View\Simple::setVars

public setVars (array $params, [mixed $merge]) Set all the render params $this->view->setVars(['products' => $products]);

Dependency Injection/Service Location

Before reading this section, it is wise to read the section which explains why Phalcon uses service location and dependency injection. Phalcon\Di is a component implementing Dependency Injection and Location of services and it’s itself a container for them. Since Phalcon is highly decoupled, Phalcon\Di is essential to integrate the different components of the framework. The developer can also use this component to inject dependencies and manage global instances of the different classes used i

Db\ColumnInterface::__set_state

abstract public static __set_state (array $data) ...