public function setActive($lang)
    {
        if ($this->validate($lang)) {
            $this->active = $lang;

            return $lang;
        }

        return false;
    }
public function setActive($lang)
    {
        if ($this->validate($lang)) {
            $this->active = $lang;

            return $lang;
        }

        return false;
    }
public function setActive ( $ lang ) { if ( $ this -> validate ( $ lang ) ) { $ this -> active = $ lang ; return $ lang ; } return false ; }
Sets active language manually

@param string $lang

@return string|bool
Sets active language manually