models/Search.php
public function getRuleList()
    {
        $rows = (new Query())
            ->select(['name'])
            ->from($this->manager->ruleTable)
            ->all();

        return ArrayHelper::map($rows, 'name', 'name');
    }
public function getRuleList()
    {
        $rows = (new Query())
            ->select(['name'])
            ->from($this->manager->ruleTable)
            ->all();

        return ArrayHelper::map($rows, 'name', 'name');
    }
public function getRuleList ( ) { $ rows = ( new Query ( ) ) -> select ( [ 'name' ] ) -> from ( $ this -> manager -> ruleTable ) -> all ( ) ; return ArrayHelper :: map ( $ rows , 'name' , 'name' ) ; }
Returns list of rule names.

@return array
Returns list of rule names .