本文整理汇总了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);
}
示例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§ion=com_newsfeeds');
parent::_initialize($config);
}
示例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);
}
示例4: _initialize
protected function _initialize(KConfig $config)
{
$config->append(array(
'template_url' => false
));
parent::_initialize($config);
}
示例5: _initialize
protected function _initialize(KConfig $config)
{
$config->append(array(
'layout' => 'default'
));
parent::_initialize($config);
}
示例6: _initialize
protected function _initialize(KConfig $config)
{
$config->append(array(
'layout' => 'default',
'auto_assign' => false,
));
parent::_initialize($config);
}
示例7: _initialize
/**
* @param KConfig $config
*/
protected function _initialize(KConfig $config)
{
$config->append(array('template_filters' => array('module')));
parent::_initialize($config);
}
示例8: _initialize
protected function _initialize(KConfig $config)
{
$config->auto_assign = false;
parent::_initialize($config);
}
示例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);
}