Mvc\Model\Transaction\ManagerInterface

Source on GitHub Methods abstract public has () ... abstract public get ([mixed $autoBegin]) ... abstract public rollbackPendent () ... abstract public commit () ... abstract public rollback ([mixed $collect]) ... abstract public notifyRollback (Phalcon\Mvc\Model\TransactionInterface $transaction) ... abstract public notifyCommit (Phalcon\Mvc\Model\TransactionInterface $transaction) ... abstract public collectTransactions () ...

Mvc\Model\Transaction\Manager::setRollbackPendent

public setRollbackPendent (mixed $rollbackPendent) Set if the transaction manager must register a shutdown function to clean up pendent transactions

Mvc\Model\Transaction\Manager::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injection container

Mvc\Model\Transaction\Manager::setDbService

public setDbService (mixed $service) Sets the database service used to run the isolated transactions

Mvc\Model\Transaction\Manager::rollbackPendent

public rollbackPendent () Rollbacks active transactions within the manager

Mvc\Model\Transaction\Manager::rollback

public rollback ([boolean $collect]) Rollbacks active transactions within the manager Collect will remove the transaction from the manager

Mvc\Model\Transaction\Manager::notifyRollback

public notifyRollback (Phalcon\Mvc\Model\TransactionInterface $transaction) Notifies the manager about a rollbacked transaction

Mvc\Model\Transaction\Manager::notifyCommit

public notifyCommit (Phalcon\Mvc\Model\TransactionInterface $transaction) Notifies the manager about a committed transaction

Mvc\Model\Transaction\Manager::has

public has () Checks whether the manager has an active transaction

Mvc\Model\Transaction\Manager::getRollbackPendent

public getRollbackPendent () Check if the transaction manager is registering a shutdown function to clean up pendent transactions