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; }
public function __construct($tablename) { parent::__construct($tablename); $this->_connection = $this->_dbClient(); }