(non-PHPdoc)
@see \Thrace\DataGridBundle\DataGrid\DataGridInterface::setSearchOptions()
961245
public function setSearchOptions(array $searchOptions)
    {
        $availableOptions = array('cn', 'ne', 'lt', 'le', 'gt', 'ge', 'bw', 'bn', 'ew', 'en', 'eq', 'nc');
        if (count(array_diff($searchOptions, $availableOptions)) > 0){
            throw new \InvalidArgumentException(sprintf('Invalid search options %s', json_encode($searchOptions)));
        }
        
        $this->searchOptions = $searchOptions;
        return $this;
    }
386101
protected function setFilterIndexCategory()
    {
        $default = array(
            'view' => $this->configTheme('catalog_view', 'grid'),
            'sort' => $this->configTheme('catalog_sort', 'price'),
            'order' => $this->configTheme('catalog_order', 'asc')
        );

        $this->setFilter(array(), $this->getFilterQuery($default));
    }
106026
public function setOptions($options) 
	{
		foreach ($this->options as $key => $option) {
			if (isset($options[$key])) {
				$this->options[$key] = $options[$key];
			}
		}
	}
995737
public function setSearchPath(array $searchMask = [], array $searchPath = [], array $excludePath = [])
    {
        $this->searchContent = new SearchContent($searchMask, $searchPath, $excludePath);
    }
886576
protected function setSearchCriteriaFromQuery()
    {
        $this->initSearchCriteria();

        foreach ($this->aCriteria as $sIndex => $mValue) {
            $this->aCriteria[$sIndex] = $this->app['request']->query->get($sIndex, $mValue);
        }
    }
415522
public function setSearch($search)
    {
        $this->_search = $search;
        $this->_queryBuilder->setSearch($search);
        return $this;
    }
65659
public function addSearchContainersFilter($searchContainers)
    {
        if (!is_array($searchContainers)) {
            $searchContainers = [$searchContainers];
        }

        $cond = OptimizerInterface::TABLE_NAME_SEARCH_CONTAINER. '.'
            . OptimizerInterface::OPTIMIZER_ID
            .' =  main_table.'
            . OptimizerInterface::OPTIMIZER_ID;

        $this->join(OptimizerInterface::TABLE_NAME_SEARCH_CONTAINER, $cond);
        $this->addFilter(OptimizerInterface::SEARCH_CONTAINER, ['in' => $searchContainers]);

        return $this;
    }
1170682
public void setChoices(List<String> choices) {
        if (!limitChoices) throw new IllegalArgumentException("Attempted to set choices when choices are not limited.");

        List<String> sorted = new ArrayList<String>();
        sorted.addAll(choices);
        Collections.sort(sorted);
        ((ComboBoxItem)this.nameItem).setValueMap(sorted);
    }
300358
public function SetOptions( $options ){
		foreach($options as $option => $value){
			$this->SetOption($option,$value);
		}
	}
1215996
public void setChoices(com.google.api.ads.admanager.axis.v201808.ListStringCreativeTemplateVariableVariableChoice[] choices) {
        this.choices = choices;
    }
1244226
protected function set_choices() {
		$this->choices['controls'] = [];
		if ( is_array( $this->default ) ) {
			foreach ( $this->default as $key => $value ) {
				$this->choices['controls'][ $key ] = true;
			}
		}
	}
27386
private void setScanCriteria(Scan scan, String columnFamily, List<Map<String, Object>> columnsToOutput,
            Filter filter)
    {
        if (filter != null)
        {
            scan.setFilter(filter);
        }
    }
246771
public function setKeywords($keywords)
    {
        if (!is_string($keywords))
        {
            throw Eresus_Exception_InvalidArgumentType::factory(__METHOD__, 1, 'string', $keywords);
        }
        $this->keywords = $keywords;
    }
382680
public function setSearchControlValues($controlValues = [], $rememberPrevious = false)
    {
        if ($rememberPrevious){
            $this->previousSearchValues = $this->model->searchValues;
        } else {
            if ($this->previousSearchValues)   {
                $this->model->searchValues = $this->previousSearchValues;
                $this->previousSearchValues = null;
                return;
            }
        }

        $controlValues = array_merge($this->defaultControlValues, $controlValues);

        foreach ($this->model->searchControls as $control) {
            $controlName = $control->getName();

            if (isset($controlValues[$controlName])) {
                $this->model->searchValues[$controlName] = $controlValues[$controlName];
            }
        }

        $this->reRender();

        $this->searchedEvent->raise();
    }
1115452
protected function resetSearchGroupChoices(array &$filteredChoices, $group, array $choices)
    {
        foreach ($choices as $key => $choice) {
            list($id, $label) = $this->getIdAndLabel($key, $choice);

            if (false !== stripos($label, $this->search) && !\in_array($id, $this->getIds())) {
                if (!array_key_exists($group, $filteredChoices)) {
                    $filteredChoices[$group] = [];
                }

                $filteredChoices[$group][$key] = $choice;
            }
        }
    }
1133717
protected function setOptions($options)
    {
        if (!$options instanceof OptionsInterface) {
            $options = is_array($options) ? $options : [];
            $options = new Options($options);
        }

        $this->options = $options;
    }
1369102
protected function addAllFilter($search)
    {
        $this->builder = $this->builder->where(
            function ($query) use ($search) {
                foreach ($this->columns as $column) {
                    $query->orWhere(
                        new raw($this->getRawColumnQuery($column)),
                        'like',
                        '%' . $search . '%'
                    );
                }
            }
        );
    }