lib/components/dataInterface/DataSource.php
public function setSearch($value)
    {
        if (!is_object($value)) {
            if (!isset($value['class'])) {
                $value['class'] = $this->searchClass;
            }
            $value = Yii::createObject($value);
        }
        $value->dataSource = $this;
        $this->_search = $value;
    }
public function setSearch($value)
    {
        if (!is_object($value)) {
            if (!isset($value['class'])) {
                $value['class'] = $this->searchClass;
            }
            $value = Yii::createObject($value);
        }
        $value->dataSource = $this;
        $this->_search = $value;
    }
public function setSearch ( $ value ) { if ( ! is_object ( $ value ) ) { if ( ! isset ( $ value [ 'class' ] ) ) { $ value [ 'class' ] = $ this -> searchClass ; } $ value = Yii :: createObject ( $ value ) ; } $ value -> dataSource = $ this ; $ this -> _search = $ value ; }
Set search.

@param [[@doctodo param_type:value]] $value [[@doctodo param_description:value]]
Set search .