public function editLanguage($code = null)
    {
        $this->setLanguage($code);
        $this->setTitleEditLanguage();
        $this->setBreadcrumbEditLanguage();

        $this->setData('edit', isset($code));
        $this->setData('language', $this->data_language);
        $this->setData('can_delete', $this->canDeleteLanguage());
        $this->setData('default_language', $this->language->getDefault());

        $this->submitEditLanguage();
        $this->outputEditLanguage();
    }
public function editLanguage($code = null)
    {
        $this->setLanguage($code);
        $this->setTitleEditLanguage();
        $this->setBreadcrumbEditLanguage();

        $this->setData('edit', isset($code));
        $this->setData('language', $this->data_language);
        $this->setData('can_delete', $this->canDeleteLanguage());
        $this->setData('default_language', $this->language->getDefault());

        $this->submitEditLanguage();
        $this->outputEditLanguage();
    }
public function editLanguage ( $ code = null ) { $ this -> setLanguage ( $ code ) ; $ this -> setTitleEditLanguage ( ) ; $ this -> setBreadcrumbEditLanguage ( ) ; $ this -> setData ( 'edit' , isset ( $ code ) ) ; $ this -> setData ( 'language' , $ this -> data_language ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteLanguage ( ) ) ; $ this -> setData ( 'default_language' , $ this -> language -> getDefault ( ) ) ; $ this -> submitEditLanguage ( ) ; $ this -> outputEditLanguage ( ) ; }
Displays the language edit form
@param string|null $code
Displays the language edit form