コード例 #1
0
 /**
  * {@inheritdoc}
  */
 protected function doConvert(AbstractQueryDesigner $source)
 {
     $this->filters = [];
     $this->currentFilterPath = '';
     parent::doConvert($source);
     $this->filters = null;
     $this->currentFilterPath = null;
 }
 /**
  * {@inheritdoc}
  */
 protected function doConvert(AbstractQueryDesigner $source)
 {
     $this->selectColumns = [];
     $this->from = [];
     $this->innerJoins = [];
     $this->leftJoins = [];
     $this->filters = [];
     $this->currentFilterPath = '';
     parent::doConvert($source);
     $this->selectColumns = null;
     $this->from = null;
     $this->innerJoins = null;
     $this->leftJoins = null;
     $this->filters = null;
     $this->currentFilterPath = null;
     $this->config->offsetSetByPath('[source][type]', 'orm');
 }