/** * @param CApiGlobalManager &$oManager */ public function __construct(CApiGlobalManager &$oManager) { parent::__construct('nodb', $oManager); }
/** * @param CApiGlobalManager &$oManager */ public function __construct(CApiGlobalManager &$oManager) { parent::__construct('db', $oManager); $this->oConnection =& $oManager->GetConnection(); $this->oCommandCreator =& $oManager->GetCommandCreator($this, array(EDbType::MySQL => 'CApiSubscriptionsCommandCreatorMySQL', EDbType::PostgreSQL => 'CApiSubscriptionsCommandCreatorPostgreSQL')); }