Ejemplo n.º 1
0
 public function select()
 {
     $this->_query = new Miaox_SphinxQl_Query_Select($this);
     $attributes = Miaox_SphinxQl_Query::pivotArray(func_get_args());
     $this->_query->setAttributes($attributes);
     if (!empty($this->_globalOptions)) {
         foreach ($this->_globalOptions as $option => $value) {
             $this->option($option, $value);
         }
     }
     return $this;
 }