/** * Prepare data hook. * * @return void */ protected function prepareData() { parent::prepareData(); // Load content language $lang = JFactory::getLanguage(); $lang->load('com_content', JPATH_BASE, null, true, true); $lang->load('com_menus', JPATH_BASE, null, true, true); $data = $this->data; $data->params = \Windwalker\System\ExtensionHelper::getParams('com_quickcontent'); $data->formParams = $this->get('FormParams'); $data->listParams = $this->buildParamsInput('list'); $data->blogParams = $this->buildParamsInput('blog'); $data->articleParams = $this->buildParamsInput('article'); // Set Editor $editor = \JEditor::getInstance($data->params->get('editor', 'tinymce')); $params['mode'] = 2; $this->editor = $editor->display('jform[content]', $data->item->content, '650px', '500px', 650, 500, false, null, null, null, $params); }
/** * setTitle * * @param string $title * @param string $icons * * @return void */ protected function setTitle($title = null, $icons = 'stack article') { parent::setTitle(JText::_('COM_FBIMPORTER_EDIT_IMPORT_FORMAT'), $icons); }
/** * Prepare data hook. * * @return void */ protected function prepareData() { parent::prepareData(); }
/** * setTitle * * @param string $title * @param string $icons * * @return void */ protected function setTitle($title = null, $icons = 'pencil-2') { parent::setTitle(JText::_('COM_AKQUICKICONS_TITLE_ICON'), $icons); }