Dispatcher::setModuleName

public setModuleName (mixed $moduleName) Sets the module where the controller is (only informative)

Model Transactions

When a process performs multiple database operations, it might be important that each step is completed successfully so that data integrity can be maintained. Transactions offer the ability to ensure that all database operations have been executed successfully before the data is committed to the database. Transactions in Phalcon allow you to commit all operations if they were executed successfully or rollback all operations if something went wrong. Manual Transactions If an application only use

Http\Response::setHeader

public setHeader (mixed $name, mixed $value) Overwrites a header in the response $response->setHeader("Content-Type", "text/plain");

Db\Adapter\Pdo::affectedRows

public affectedRows () Returns the number of affected rows by the lastest INSERT/UPDATE/DELETE executed in the database system $connection->execute("DELETE FROM robots"); echo $connection->affectedRows(), ' were deleted';

Db\AdapterInterface::getSQLStatement

abstract public getSQLStatement () ...

Session\BagInterface::__set

abstract public __set (mixed $property, mixed $value) ...

Logger\Adapter::info

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

Acl\AdapterInterface::getRoles

abstract public getRoles () ...

Image\Adapter::save

public save ([mixed $file], [mixed $quality]) Save the image

Mvc\Model\Manager::getWriteConnection

public getWriteConnection (Phalcon\Mvc\ModelInterface $model) Returns the connection to write data related to a model