/** * Creates a new instance of the object. * * @param CApiGlobalManager &$oManager */ public function __construct(CApiGlobalManager &$oManager) { parent::__construct('db', $oManager); $this->oConnection =& $oManager->GetConnection(); $this->oCommandCreator =& $oManager->GetCommandCreator($this, array(EDbType::MySQL => 'CApiUsersCommandCreatorMySQL', EDbType::PostgreSQL => 'CApiUsersCommandCreatorPostgreSQL')); }
/** * @param CApiGlobalManager &$oManager */ public function __construct(CApiGlobalManager &$oManager) { parent::__construct('nodb', $oManager); CSession::$sSessionName = API_SESSION_WEBMAIL_NAME; }