skeeks\cms\helpers\TreeOptions::filter PHP Method

filter() public method

Фильтрует дерево по заданному условию
public filter ( $condition )
$condition
    public function filter($condition)
    {
        $items = $this->find()->where($condition)->all();
        $this->_filter = $this->_getTreeNodesIds($items);
    }