/** * return transaction manager class * * @return Syncroton_TransactionManagerInterface */ public static function getTransactionManager() { if (!self::isRegistered(self::TRANSACTIONMANAGER)) { self::set(self::TRANSACTIONMANAGER, Syncroton_TransactionManager::getInstance()); } return self::get(self::TRANSACTIONMANAGER); }
/** * @return Tinebase_TransactionManager */ public static function getInstance() { if (self::$_instance === NULL) { self::$_instance = new Syncroton_TransactionManager(); } return self::$_instance; }