diff options
Diffstat (limited to 'app/php')
-rw-r--r-- | app/php/facades/Facade.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/php/facades/Facade.php b/app/php/facades/Facade.php index 99f5f56..346024a 100644 --- a/app/php/facades/Facade.php +++ b/app/php/facades/Facade.php @@ -47,6 +47,10 @@ class Facade { return $this->getClient()->queryForMap($sqlMap, $params, $key, $value); } + protected function beginTransaction() { + return $this->getClient()->DbConnection->beginTransaction(); + } + protected function raiseEvent($event, ...$params) { return Prado::getApplication()->getModule('events')->raiseApplicationEvent( $event, ...$params |