Http\Request::hasServer

final public hasServer (mixed $name) Checks whether $_SERVER superglobal has certain index

Db\Adapter::getColumnDefinition

public getColumnDefinition (Phalcon\Db\ColumnInterface $column) Returns the SQL column definition from a column

Mvc\Dispatcher::getLastController

public getLastController () Returns the latest dispatched controller

Db\Dialect::releaseSavepoint

public releaseSavepoint (mixed $name) Generate SQL to release a savepoint

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) ...