예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }
예제 #3
0
파일: html.php 프로젝트: ForAEdesWeb/AEW25
 /**
  * Prepare data hook.
  *
  * @return  void
  */
 protected function prepareData()
 {
     parent::prepareData();
 }
예제 #4
0
 /**
  * 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);
 }