setAlias() публичный Метод

Sets the select alias to be used in sql queries.
public setAlias ( string $alias )
$alias string
Пример #1
0
 /**
  * Internal method that runs the individual key/value input through
  * the QueryParameterParser. This allows complicated expressions to
  * be turned into simple sql expressions
  */
 protected function processFilters()
 {
     $this->filters = [];
     foreach ($this->params as $key => $value) {
         $this->parser->setAlias($this->contentType);
         $filter = $this->parser->getFilter($key, $value);
         if ($filter) {
             $this->addFilter($filter);
         }
     }
 }