Пример #1
0
 /**
  * Constructor
  *
  * @param Adapter $adapter
  * @param  null|string|array|\Zend\Db\Sql\TableIdentifier $table
  */
 public function __construct(Adapter $adapter = null, $table = null)
 {
     if ($adapter) {
         $this->setDbAdapter($adapter);
     }
     parent::__construct($table);
 }
Пример #2
0
 /**
  * Constructor
  *
  * @param   array|null  $values
  */
 public function __construct(array $values = null)
 {
     parent::__construct('dual');
     if (null !== $values) {
         $this->values($values);
     }
 }