예제 #1
0
 public function setupQueryBuilder()
 {
     $this->objectGetter->setSelectQueryFields($this->getInput('fields', 1));
     $this->objectGetter->setMainQuery();
     $this->objectGetter->setId($this->getInput('id', 1));
     $this->objectGetter->setExcludeId($this->getInput('excludeId', 1));
     $this->objectGetter->setColonna($this->getInput('colonna', 1));
     $this->objectGetter->setAttivo($this->getInput('attivo', 1));
     $this->objectGetter->setModuloId($this->getInput('moduloId', 1));
     $this->objectGetter->setSlug($this->getInput('slug', 1));
     $this->objectGetter->setBlocco($this->getInput('blocco', 1));
     $this->objectGetter->setLingua($this->getInput('lingua', 1));
     $this->objectGetter->setLanguageAbbreviation($this->getInput('languageAbbreviation', 1));
     $this->objectGetter->setIsAmmTrasparente($this->getInput('isAmmTrasparente', 1));
     $this->objectGetter->setOrderBy($this->getInput('orderBy', 1));
     $this->objectGetter->setLimit($this->getInput('limit', 1));
 }
예제 #2
0
 public function testSetColonna()
 {
     $this->objectGetter->setColonna('sx');
     $this->assertNotEmpty($this->objectGetter->getQueryBuilder()->getParameter('colonna'));
 }