Forms\Form::getLabel

public getLabel (mixed $name) Returns a label for an element

Mvc\Collection::findFirst

public static findFirst ([array $parameters]) Allows to query the first record that match the specified conditions // What's the first robot in the robots table? $robot = Robots::findFirst(); echo 'The robot name is ', $robot->name, "\n"; // What's the first mechanical robot in robots table? $robot = Robots::findFirst([ ['type' => 'mechanical'] ]); echo 'The first mechanical robot name is ', $robot->name, "\n"; // Get first virtual robot ordered by name $robot = Robots::

Http\ResponseInterface::sendHeaders

abstract public sendHeaders () ...

Db\Column::TYPE_JSONB

integer TYPE_JSONB

Mvc\Model::jsonSerialize

public array jsonSerialize () Serializes the object for json_encode echo json_encode($robot);

Mvc\Model\Query::getBindParams

public array getBindParams () Returns default bind params

Translate\Adapter\Gettext::setDomain

public setDomain (mixed $domain) Changes the current domain (i.e. the translation file)

Logger\AdapterInterface::setLogLevel

abstract public setLogLevel (mixed $level) ...

Escaper::escapeCss

public escapeCss (mixed $css) Escape CSS strings by replacing non-alphanumeric chars by their hexadecimal escaped representation

Storing data in Session

The session component provides object-oriented wrappers to access session data. Reasons to use this component instead of raw-sessions: You can easily isolate session data across applications on the same domain Intercept where session data is set/get in your application Change the session adapter according to the application needs Starting the Session Some applications are session-intensive, almost any action that performs requires access to session data. There are others who access session da