コード例 #1
0
 public function setupQueryBuilder()
 {
     $this->objectGetter->setSelectQueryFields($this->getInput('fields', 1));
     $this->objectGetter->setMainQuery();
     $this->objectGetter->setId($this->getInput('id', 1));
     $this->objectGetter->setUserId($this->getInput('userId', 1));
     $this->objectGetter->setOrderBy($this->getInput('orderBy', 1));
     $this->objectGetter->setGroupBy($this->getInput('groupBy', 1));
     $this->objectGetter->setLimit($this->getInput('limit', 1));
 }
コード例 #2
0
 public function testSetMainQuery()
 {
     $this->objectGetter->setMainQuery();
     $this->assertTrue(is_array($this->objectGetter->getQueryResult()));
 }