FilterEditor: allow to set the query from outside

Query will be used to provide a column list
This commit is contained in:
Thomas Gelf 2014-11-15 22:55:26 +01:00
parent 118abbe980
commit 269f4b4c83
1 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,12 @@ class FilterEditor extends AbstractWidget
return $this->url;
}
public function setQuery($query)
{
$this->query = $query;
return $this;
}
protected function select($name, $list, $selected, $attributes = null)
{
$view = $this->view();