protected function validateLanguage()
    {
        $this->setSubmitted('language');
        $this->setSubmittedBool('status');
        $this->setSubmittedBool('default');
        $this->setSubmitted('update', $this->data_language);

        $this->validateComponent('language');

        return !$this->hasErrors();
    }
protected function validateLanguage()
    {
        $this->setSubmitted('language');
        $this->setSubmittedBool('status');
        $this->setSubmittedBool('default');
        $this->setSubmitted('update', $this->data_language);

        $this->validateComponent('language');

        return !$this->hasErrors();
    }
protected function validateLanguage ( ) { $ this -> setSubmitted ( 'language' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmittedBool ( 'default' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_language ) ; $ this -> validateComponent ( 'language' ) ; return ! $ this -> hasErrors ( ) ; }
Validates a language
@return boolean
Validates a language