当前位置: 首页>>代码示例>>PHP>>正文


PHP WFEditorPlugin::display方法代码示例

本文整理汇总了PHP中WFEditorPlugin::display方法的典型用法代码示例。如果您正苦于以下问题:PHP WFEditorPlugin::display方法的具体用法?PHP WFEditorPlugin::display怎么用?PHP WFEditorPlugin::display使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在WFEditorPlugin的用法示例。


在下文中一共展示了WFEditorPlugin::display方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: display

 function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('paste'), 'plugins');
     $document->addStyleSheet(array('paste'), 'plugins');
 }
开发者ID:andreassetiawanhartanto,项目名称:PDKKI,代码行数:7,代码来源:paste.php

示例2: display

 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('clipboard'), 'plugins');
     $document->addStyleSheet(array('clipboard'), 'plugins');
 }
开发者ID:acculitx,项目名称:fleetmatrixsite,代码行数:7,代码来源:clipboard.php

示例3: display

 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('colorpicker'), 'libraries');
     $document->addScript(array('colorpicker'), 'plugins');
     $document->addStyleSheet(array('colorpicker'), 'plugins');
     $document->addScriptDeclaration('ColorPicker.settings=' . json_encode($this->getSettings()) . ';');
 }
开发者ID:greyhat777,项目名称:vuslinterliga,代码行数:9,代码来源:colorpicker.php

示例4: display

 function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('fullpage'), 'plugins');
     $document->addStyleSheet(array('fullpage'), 'plugins');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     $tabs->addTab('meta');
     $tabs->addTab('appearance');
 }
开发者ID:adjaika,项目名称:J3Base,代码行数:10,代码来源:fullpage.php

示例5: display

 /**
  * Display the plugin
  */
 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('pagebreak'), 'plugins');
     //$document->addStyleSheet(array('pagebreak'), 'plugins');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('pagebreak');
 }
开发者ID:acculitx,项目名称:fleetmatrixsite,代码行数:13,代码来源:article.php

示例6: display

 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     // get command, eg: mcePaste, mcePasteText
     $cmd = JRequest::getCmd('cmd', 'paste');
     // remove mce prefix
     $cmd = str_replace('mce', '', $cmd);
     // set title
     $document->setTitle(WFText::_('WF_' . strtoupper($cmd) . '_TITLE'));
     $document->addScript(array('clipboard'), 'plugins');
     $document->addStyleSheet(array('clipboard'), 'plugins');
 }
开发者ID:janssit,项目名称:www.marlinfishingcanaria.com,代码行数:13,代码来源:clipboard.php

示例7: display

 /**
  * Display the plugin
  */
 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('searchreplace'), 'plugins');
     $document->addStyleSheet(array('searchreplace'), 'plugins');
     $settings = $this->getSettings();
     $document->addScriptDeclaration('SearchReplaceDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('find');
     $tabs->addTab('replace');
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:16,代码来源:searchreplace.php

示例8: display

 /**
  * Display the plugin
  * @access public
  */
 public function display()
 {
     $view = $this->getView();
     $browser = $this->getBrowser();
     parent::display();
     $document = WFDocument::getInstance();
     if ($document->get('standalone') == 1 && !JRequest::getWord('element', '')) {
         $browser = $this->getBrowser();
         $browser->removeButton('file', 'insert');
     }
     $browser->display();
     $browser->set('position', $this->getParam('editor.browser_position', 'bottom'));
     $view->assign('browser', $browser);
 }
开发者ID:01J,项目名称:topm,代码行数:18,代码来源:manager.php

示例9: display

 /**
  * Display the plugin
  */
 function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->setTitle(WFText::_('WF_' . strtoupper($this->getElementName()) . '_TITLE'));
     $document->addScript(array('xhtmlxtras'), 'plugins');
     $document->addStyleSheet(array('xhtmlxtras'), 'plugins');
     $document->addScriptDeclaration('XHTMLXtrasDialog.settings=' . json_encode($this->getSettings()) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     $tabs->addTab('standard');
     if ($this->getElementName() == 'attributes') {
         $tabs->addTab('events');
     }
 }
开发者ID:01J,项目名称:bealtine,代码行数:17,代码来源:xhtmlxtras.php

示例10: display

 function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $settings = $this->getSettings();
     $document->addScriptDeclaration('CaptionDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('text', 1);
     $tabs->addTab('container', 1);
     // add link stylesheet
     $document->addStyleSheet(array('caption'), 'plugins');
     // add link scripts last
     $document->addScript(array('caption'), 'plugins');
 }
开发者ID:srbsnkr,项目名称:sellingonlinemadesimple,代码行数:15,代码来源:caption.php

示例11: display

 /**
  * Display the plugin
  */
 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('table'), 'plugins');
     $document->addStyleSheet(array('table'), 'plugins');
     $settings = $this->getSettings();
     $document->addScriptDeclaration('TableDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     if ($this->getContext() == 'merge') {
         // Add tabs
         $tabs->addTab('merge');
     } else {
         $tabs->addTab('general', 1, array('plugin' => $this));
         $tabs->addTab('advanced', 1, array('plugin' => $this));
     }
 }
开发者ID:madcsaba,项目名称:li-de,代码行数:20,代码来源:table.php

示例12: display

 /**
  * Display the plugin
  */
 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $document->addScript(array('style'), 'plugins');
     $document->addStyleSheet(array('style'), 'plugins');
     $settings = $this->getSettings();
     $document->addScriptDeclaration('StyleDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('text');
     $tabs->addTab('background');
     $tabs->addTab('block');
     $tabs->addTab('box');
     $tabs->addTab('border');
     $tabs->addTab('list');
     $tabs->addTab('positioning');
 }
开发者ID:01J,项目名称:topm,代码行数:21,代码来源:style.php

示例13: display

 function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $settings = $this->getSettings();
     $document->addScriptDeclaration('LinkDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('link', 1);
     $tabs->addTab('advanced', $this->getParam('tabs_advanced', 1));
     $browser = $this->getBrowser();
     $browser->display();
     // Load Popups instance
     $popups = WFPopupsExtension::getInstance(array('text' => false));
     $popups->display();
     // add link stylesheet
     $document->addStyleSheet(array('link'), 'plugins');
     // add link scripts last
     $document->addScript(array('link'), 'plugins');
 }
开发者ID:optimosolution,项目名称:marhk,代码行数:20,代码来源:link.php

示例14: display

 public function display()
 {
     parent::display();
     $document = WFDocument::getInstance();
     $settings = $this->getSettings();
     $document->addScriptDeclaration('LinkDialog.settings=' . json_encode($settings) . ';');
     $tabs = WFTabs::getInstance(array('base_path' => WF_EDITOR_PLUGIN));
     // Add tabs
     $tabs->addTab('link', 1, array('plugin' => $this));
     $tabs->addTab('advanced', $this->getParam('tabs_advanced', 1));
     // get and display links
     $links = $this->getLinks();
     $links->display();
     // get and display search
     $search = $this->getSearch('link');
     $search->display();
     // Load Popups instance
     $popups = WFPopupsExtension::getInstance(array('text' => false, 'default' => $this->getParam('link.popups.default', '')));
     $popups->display();
     // add link stylesheet
     $document->addStyleSheet(array('link'), 'plugins');
     // add link scripts last
     $document->addScript(array('link'), 'plugins');
 }
开发者ID:grlf,项目名称:eyedock,代码行数:24,代码来源:link.php

示例15: display

 function display()
 {
     parent::display();
     $document =& WFDocument::getInstance();
     //$document->addScript(array('link'), 'plugins');
     $document->addStyleSheet(array('link'), 'plugins');
     //		$settings = $this->getSettings();
     //	$document->addScriptDeclaration('LinkDialog.settings='.json_encode($settings).';');
     /*$tabs =& WFTabs::getInstance(array(
     			'base_path' => CKE_PLUGINS
     		));
     
     		// Add tabs
     		$tabs->addTab('link', 1);
     		$tabs->addTab('advanced', $this->getParam('link_tabs_advanced', 1));
     */
     // Load Popups instance
     /*$popups =& WFPopupsExtension::getInstance(array(
     					'text' => false
     		));
     */
     $browser =& $this->getBrowser();
     $browser->display();
 }
开发者ID:neoandrew1000,项目名称:crao_journal,代码行数:24,代码来源:link.php


注:本文中的WFEditorPlugin::display方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。