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


PHP ExtensionManager::addCoreNavigationComponent方法代码示例

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


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

示例1: array

 * Holds news records to be displayed in the login screen
 * This is only the 'header' part (ctrl). The full configuration is found
 * in t3lib/stddb/tbl_be.php
 */
$TCA['sys_news'] = array('ctrl' => array('title' => 'LLL:EXT:lang/locallang_tca.xml:sys_news', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'adminOnly' => TRUE, 'rootLevel' => TRUE, 'delete' => 'deleted', 'enablecolumns' => array('disabled' => 'hidden', 'starttime' => 'starttime', 'endtime' => 'endtime'), 'default_sortby' => 'crdate DESC', 'typeicon_classes' => array('default' => 'mimetypes-x-sys_news'), 'dynamicConfigFile' => 'T3LIB:tbl_be.php', 'dividers2tabs' => TRUE));
/**
 * $TBE_MODULES contains the structure of the backend modules as they are
 * arranged in main- and sub-modules. Every entry in this array represents a
 * menu item on either first (key) or second level (value from list) in the
 * left menu in the TYPO3 backend
 * For information about adding modules to TYPO3 you should consult the
 * documentation found in "Inside TYPO3"
 */
$TBE_MODULES = array('web' => 'list', 'file' => '', 'user' => '', 'tools' => '', 'help' => '');
// Register the pagetree core navigation component
\TYPO3\CMS\Core\Extension\ExtensionManager::addCoreNavigationComponent('web', 'typo3-pagetree');
/**
 * $TBE_STYLES configures backend styles and colors; Basically this contains
 * all the values that can be used to create new skins for TYPO3.
 * For information about making skins to TYPO3 you should consult the
 * documentation found in "Inside TYPO3"
 */
$TBE_STYLES = array('colorschemes' => array('0' => '#E4E0DB,#CBC7C3,#EDE9E5'), 'borderschemes' => array('0' => array('border:solid 1px black;', 5)));
/**
 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
 * For information about using the CSH API in TYPO3 you should consult the
 * documentation found in "Inside TYPO3"
 */
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xml');
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xml');
\TYPO3\CMS\Core\Extension\ExtensionManager::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xml');
开发者ID:noxludo,项目名称:TYPO3v4-Core,代码行数:31,代码来源:tables.php


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