本文整理匯總了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');