source/Application/Model/Search.php
public function setLanguage($iLanguage = null)
    {
        if (!isset($iLanguage)) {
            $this->_iLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
        } else {
            $this->_iLanguage = $iLanguage;
        }
    }
public function setLanguage($iLanguage = null)
    {
        if (!isset($iLanguage)) {
            $this->_iLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
        } else {
            $this->_iLanguage = $iLanguage;
        }
    }
public function setLanguage ( $ iLanguage = null ) { if ( ! isset ( $ iLanguage ) ) { $ this -> _iLanguage = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ; } else { $ this -> _iLanguage = $ iLanguage ; } }
Search language setter. If no param is passed, will be taken default shop language

@param string $iLanguage string (default null)
Search language setter . If no param is passed will be taken default shop language