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


PHP ComDefaultViewHtml::_initialize方法代码示例

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


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

示例1: _initialize

	protected function _initialize(KConfig $config)
	{
		$config->append(array(
			'auto_assign' => false
		));
		parent::_initialize($config);
	}
开发者ID:raeldc,项目名称:com_learn,代码行数:7,代码来源:html.php

示例2: _initialize

    protected function _initialize(KConfig $config)
    {
        JSubMenuHelper::addEntry(JText::_('Newsfeeds'), 'index.php?option=com_newsfeeds&view=newsfeeds', true);
        JSubMenuHelper::addEntry(JText::_('Categories'), 'index.php?option=com_categories&view=categories&section=com_newsfeeds');

        parent::_initialize($config);
    }
开发者ID:raeldc,项目名称:com_learn,代码行数:7,代码来源:html.php

示例3: _initialize

 /**
  * Initializes the configuration for the object
  * 
  * Called from {@link __construct()} as a first step of object instantiation.
  *
  * @param   array   Configuration settings
  */
 protected function _initialize(KConfig $config)
 {
     $language = JFactory::getLanguage();
     $settings = array('directionality' => $language->isRTL() ? 'rtl' : 'ltr', 'editor_selector' => 'editable', 'mode' => 'specific_textareas', 'skin' => 'nooku', 'theme' => 'advanced', 'inline_styles' => true, 'gecko_spellcheck' => true, 'entity_encoding' => 'raw', 'extended_valid_elements' => '', 'invalid_elements' => 'script,applet,iframe', 'relative_urls' => true, 'remove_script_host' => false, 'document_base_url' => KRequest::root(), 'theme_advanced_toolbar_location' => 'top', 'theme_advanced_toolbar_align' => 'left', 'theme_advanced_source_editor_height' => '550', 'height' => '550', 'width' => '100%', 'theme_advanced_statusbar_location' => 'bottom', 'theme_advanced_resizing' => false, 'theme_advanced_resize_horizontal' => false, 'theme_advanced_path' => true, 'dialog_type' => 'modal', 'language' => substr($language->getTag(), 0, strpos($language->getTag(), '-')), 'theme_advanced_buttons1' => implode(',', array('bold', 'italic', 'strikethrough', 'underline', '|', 'bullist', 'numlist', 'blockquote', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', '|', 'link', 'unlink', '|', 'spellchecker', 'fullscreen', 'image', 'readmore', 'article', '|', 'advanced')), 'theme_advanced_buttons2' => implode(',', array('formatselect', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'media', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo')), 'theme_advanced_buttons3' => '', 'theme_advanced_buttons4' => '');
     $config->append(array('layout' => 'default', 'media_url' => KRequest::root() . '/media'))->append(array('codemirror' => true, 'codemirrorOptions' => array('stylesheet' => array($config->media_url . '/com_editors/codemirror/css/xmlcolors.css', $config->media_url . '/com_editors/codemirror/css/jscolors.css', $config->media_url . '/com_editors/codemirror/css/csscolors.css', $config->media_url . '/com_editors/css/codemirror.css'), 'path' => $config->media_url . '/com_editors/codemirror/js/'), 'editor_settings' => $settings));
     parent::_initialize($config);
 }
开发者ID:JSWebdesign,项目名称:intranet-platform,代码行数:14,代码来源:html.php

示例4: _initialize

 protected function _initialize(KConfig $config)
 {
 	$config->append(array(
 		'template_url' => false
    	));
 	
 	parent::_initialize($config);
 }
开发者ID:raeldc,项目名称:com_learn,代码行数:8,代码来源:html.php

示例5: _initialize

 protected function _initialize(KConfig $config)
 {
     $config->append(array(
         'layout' => 'default'
     ));
     
     parent::_initialize($config);
 }
开发者ID:raeldc,项目名称:com_learn,代码行数:8,代码来源:html.php

示例6: _initialize

	protected function _initialize(KConfig $config)
	{
		$config->append(array(
			'layout' => 'default',
			'auto_assign' => false,
		));

		parent::_initialize($config);
	}
开发者ID:raeldc,项目名称:com_learn,代码行数:9,代码来源:html.php

示例7: _initialize

 /**
  * @param KConfig $config
  */
 protected function _initialize(KConfig $config)
 {
     $config->append(array('template_filters' => array('module')));
     parent::_initialize($config);
 }
开发者ID:kedweber,项目名称:com_articles,代码行数:8,代码来源:html.php

示例8: _initialize

 protected function _initialize(KConfig $config)
 {
     $config->auto_assign = false;
     parent::_initialize($config);
 }
开发者ID:janssit,项目名称:www.ondernemenddiest.be,代码行数:5,代码来源:html.php

示例9: _initialize

 protected function _initialize(KConfig $config)
 {
     $config->append(array('views' => array('dashboard' => JText::_('Dashboard'), 'members' => JText::_('Members'), 'ranks' => JText::_('Ranks'), 'tasks' => JText::_('Tasks'))));
     parent::_initialize($config);
 }
开发者ID:ercanozkaya,项目名称:com_jedi,代码行数:5,代码来源:html.php


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