public function __construct($msg = '', $code = 0, Mzax_Db_Select $select = null, Exception $previous = null) { parent::__construct($msg, $code, $previous); $this->select = $select; if ($select) { $this->bindings = $select->getBindings(); } }
/** * Allow to use temporary tabes for this filter * result * * @return string */ public function assemble() { if (!self::$_assambleAll && ($sql = $this->createTemporaryTable())) { return $sql; } else { return parent::assemble(); } }