public function setSearchOptions($options = [])
    {
        extract(array_merge([
            'mode' => null,
            'scope' => null
        ], $options));

        $this->searchMode = $mode;
        $this->searchScope = $scope;
    }
public function setSearchOptions($options = [])
    {
        extract(array_merge([
            'mode' => null,
            'scope' => null
        ], $options));

        $this->searchMode = $mode;
        $this->searchScope = $scope;
    }
public function setSearchOptions ( $ options = [ ] ) { extract ( array_merge ( [ 'mode' => null , 'scope' => null ] , $ options ) ) ; $ this -> searchMode = $ mode ; $ this -> searchScope = $ scope ; }
Applies a search options to the list search.
@param array $options
Applies a search options to the list search .