public function editFile($file_id = null)
    {
        $this->downloadFile();
        $this->setFile($file_id);
        $this->setTitleEditFile();
        $this->setBreadcrumbEditFile();
        $this->controlAccessEditFile();

        $this->setData('file', $this->data_file);
        $this->setData('can_delete', $this->canDeleteFile());

        $this->setData('extensions', $this->file->supportedExtensions(true));
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditFile();
        $this->outputEditFile();
    }
public function editFile($file_id = null)
    {
        $this->downloadFile();
        $this->setFile($file_id);
        $this->setTitleEditFile();
        $this->setBreadcrumbEditFile();
        $this->controlAccessEditFile();

        $this->setData('file', $this->data_file);
        $this->setData('can_delete', $this->canDeleteFile());

        $this->setData('extensions', $this->file->supportedExtensions(true));
        $this->setData('languages', $this->language->getList(array('enabled' => true)));

        $this->submitEditFile();
        $this->outputEditFile();
    }
public function editFile ( $ file_id = null ) { $ this -> downloadFile ( ) ; $ this -> setFile ( $ file_id ) ; $ this -> setTitleEditFile ( ) ; $ this -> setBreadcrumbEditFile ( ) ; $ this -> controlAccessEditFile ( ) ; $ this -> setData ( 'file' , $ this -> data_file ) ; $ this -> setData ( 'can_delete' , $ this -> canDeleteFile ( ) ) ; $ this -> setData ( 'extensions' , $ this -> file -> supportedExtensions ( true ) ) ; $ this -> setData ( 'languages' , $ this -> language -> getList ( array ( 'enabled' => true ) ) ) ; $ this -> submitEditFile ( ) ; $ this -> outputEditFile ( ) ; }
Displays the file edit page
@param null|integer $file_id
Displays the file edit page