public function editEditor($module_id, $file_id)
    {
        $this->setModuleEditor($module_id);
        $this->setFilePathEditor($file_id);
        $this->setTitleEditEditor();
        $this->setBreadcrumbEditEditor();
        $this->setMessageEditEditor();

        $this->setData('module', $this->data_module);
        $this->setData('can_save', $this->canSaveEditor());
        $this->setData('lines', count(file($this->data_file)));
        $this->setData('editor.content', file_get_contents($this->data_file));

        $this->submitEditor();
        $this->setJsSettingsEditor();
        $this->outputEditEditor();
    }
public function editEditor($module_id, $file_id)
    {
        $this->setModuleEditor($module_id);
        $this->setFilePathEditor($file_id);
        $this->setTitleEditEditor();
        $this->setBreadcrumbEditEditor();
        $this->setMessageEditEditor();

        $this->setData('module', $this->data_module);
        $this->setData('can_save', $this->canSaveEditor());
        $this->setData('lines', count(file($this->data_file)));
        $this->setData('editor.content', file_get_contents($this->data_file));

        $this->submitEditor();
        $this->setJsSettingsEditor();
        $this->outputEditEditor();
    }
public function editEditor ( $ module_id , $ file_id ) { $ this -> setModuleEditor ( $ module_id ) ; $ this -> setFilePathEditor ( $ file_id ) ; $ this -> setTitleEditEditor ( ) ; $ this -> setBreadcrumbEditEditor ( ) ; $ this -> setMessageEditEditor ( ) ; $ this -> setData ( 'module' , $ this -> data_module ) ; $ this -> setData ( 'can_save' , $ this -> canSaveEditor ( ) ) ; $ this -> setData ( 'lines' , count ( file ( $ this -> data_file ) ) ) ; $ this -> setData ( 'editor.content' , file_get_contents ( $ this -> data_file ) ) ; $ this -> submitEditor ( ) ; $ this -> setJsSettingsEditor ( ) ; $ this -> outputEditEditor ( ) ; }
Route callback
Displays the file edit page
@param string $module_id
@param string $file_id
Route callback Displays the file edit page