Esempio n. 1
0
 /**
  * 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'));
 }
Esempio n. 2
0
 /**
  * @param CApiGlobalManager &$oManager
  */
 public function __construct(CApiGlobalManager &$oManager)
 {
     parent::__construct('nodb', $oManager);
     CSession::$sSessionName = API_SESSION_WEBMAIL_NAME;
 }