Mvc\Model::setTransaction

public setTransaction (Phalcon\Mvc\Model\TransactionInterface $transaction) Sets a transaction related to the Model instance use Phalcon\Mvc\Model\Transaction\Manager as TxManager; use Phalcon\Mvc\Model\Transaction\Failed as TxFailed; try { $txManager = new TxManager(); $transaction = $txManager->get(); $robot = new Robots(); $robot->setTransaction($transaction); $robot->name = 'WALL·E'; $robot->created_at = date('Y-m-d'); if ($robot->save() == false) { $trans

Mvc\Model\Manager::getDI

public getDI () Returns the DependencyInjector container

Image\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Security::getToken

public getToken () Generates a pseudo random token value to be used as input’s value in a CSRF check

Events\ManagerInterface::getListeners

abstract public getListeners (mixed $type) ...

Mvc\Model\Relation::getParams

public array getParams () Returns parameters that must be always used when the related records are obtained

Mvc\View\Simple::getCache

public getCache () Returns the cache instance used to cache

Db

Source on GitHub Phalcon\Db and its related classes provide a simple SQL database interface for Phalcon Framework. The Phalcon\Db is the basic class you use to connect your PHP application to an RDBMS. There is a different adapter class for each brand of RDBMS. This component is intended to lower level database operations. If you want to interact with databases using higher level of abstraction use Phalcon\Mvc\Model. Phalcon\Db is an abstract class. You only can use it with a database adapter l

Mvc\Collection\Behavior::notify

public notify (mixed $type, Phalcon\Mvc\CollectionInterface $model) This method receives the notifications from the EventsManager

Logger\Adapter::critical

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