Esempio n. 1
0
 public function __construct($table, $clientId)
 {
     if (!$clientId) {
         throw new Exception("Can't find client_id.");
     }
     parent::__construct($table);
     $this->_connection = $this->_dbClientData($clientId);
     $this->identityClientId = (int) $clientId;
 }
Esempio n. 2
0
 public function __construct($tablename)
 {
     parent::__construct($tablename);
     $this->_connection = $this->_dbClient();
 }