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