예제 #1
0
 /**
  * @param CApiGlobalManager &$oManager
  */
 public function __construct(CApiGlobalManager &$oManager)
 {
     parent::__construct('nodb', $oManager);
 }
예제 #2
0
 /**
  * @param CApiGlobalManager &$oManager
  */
 public function __construct(CApiGlobalManager &$oManager)
 {
     parent::__construct('db', $oManager);
     $this->oConnection =& $oManager->GetConnection();
     $this->oCommandCreator =& $oManager->GetCommandCreator($this, array(EDbType::MySQL => 'CApiTenantsCommandCreatorMySQL', EDbType::PostgreSQL => 'CApiTenantsCommandCreatorPostgreSQL'));
 }