protected function setLanguage($code)
    {
        $this->data_language = array();

        if (!empty($code)) {

            $this->data_language = $this->language->get($code);

            if (empty($this->data_language)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setLanguage($code)
    {
        $this->data_language = array();

        if (!empty($code)) {

            $this->data_language = $this->language->get($code);

            if (empty($this->data_language)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setLanguage ( $ code ) { $ this -> data_language = array ( ) ; if ( ! empty ( $ code ) ) { $ this -> data_language = $ this -> language -> get ( $ code ) ; if ( empty ( $ this -> data_language ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
Set a language data
@param string $code
Set a language data