Exemplo n.º 1
0
 public function __construct($criteria = null, $hydrate_class, $connection_name = null)
 {
     if (empty($hydrate_class)) {
         throw new Exception('Invalid parameter type.');
     }
     $this->_hydrate_class = $hydrate_class;
     $this->_connection_name = $connection_name;
     parent::__construct($criteria);
 }