Ejemplo n.º 1
0
 function setParams($value)
 {
     $this->parameters = $value;
     if ($this->query != NULL) {
         return $this->query->setParameters($this->getParams());
     }
 }
Ejemplo n.º 2
0
 public function testProccessQuery()
 {
     foreach ($this->_testObjects as $obj) {
         $this->object->setQuery($obj['query']['query']);
         $this->object->setParameters($obj['query']['parameters']);
         $this->object->setXslt($obj['query']['xslt']);
         if (isset($obj['query']['delimiter'])) {
             $this->object->setDelimiter($obj['query']['delimiter']);
         }
         $this->assertEquals($obj['result'], $this->object->proccessQuery());
     }
 }