示例#1
0
 /**
  * Overwrite the constructor so the query is executed directly.
  *
  * @param string $table
  */
 public function __construct($table = null)
 {
     parent::__construct($table);
     $this->execute();
 }
 /**
  * @param array  $parameterList
  * @param string $queryObject
  */
 public function __construct(array $parameterList, $queryObject)
 {
     parent::__construct($parameterList);
     $this->getParameterBag()->setParameter('queryClassName', $queryObject);
 }