本文整理汇总了PHP中HDNET\Autoloader\Loader::extLocalconf方法的典型用法代码示例。如果您正苦于以下问题:PHP Loader::extLocalconf方法的具体用法?PHP Loader::extLocalconf怎么用?PHP Loader::extLocalconf使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HDNET\Autoloader\Loader
的用法示例。
在下文中一共展示了Loader::extLocalconf方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: die
<?php
/**
* General ext_localconf file
*
* @author Tim Lochmüller
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('FRUIT', 'ink');
示例2: die
<?php
/**
* General ext_localconf file and also an example for your own extension
*
* @category Extension
* @package AutoloaderHooks
* @author Tim Lochmüller
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'autoloader_language', ['LanguageOverride']);
示例3: die
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$loader = ['Xclass', 'Hooks', 'SmartObjects', 'ExtensionTypoScriptSetup', 'Plugins', 'StaticTyposcript'];
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'focuspoint', $loader);
示例4: die
<?php
/**
* General ext_localconf file and also an example for your own extension
*
* @category Extension
* @package Calendarize
* @author Tim Lochmüller
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'calendarize', \HDNET\Calendarize\Register::getDefaultAutoloader());
if (!(bool) \HDNET\Calendarize\Utility\ConfigurationUtility::get('disableDefaultEvent')) {
\HDNET\Calendarize\Register::extLocalconf(\HDNET\Calendarize\Register::getDefaultCalendarizeConfiguration());
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.calendarize', 'Calendar', array('Calendar' => 'list,year,month,week,day,detail,search'), array('Calendar' => 'list,year,month,week,day,detail,search'));
示例5: die
<?php
/**
* General ext_localconf file and also an example for your own extension
*
* @category Extension
* @package Autoloader
* @author Tim Lochmüller
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'autoloader', ['Hooks', 'Slots', 'StaticTyposcript', 'ExtensionId']);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('autoloader::clearCache', 'HDNET\\Autoloader\\Hooks\\ClearCache->clear');
$GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['writer'] = ['xlf' => 'HDNET\\Autoloader\\Localization\\Writer\\XliffWriter', 'xml' => 'HDNET\\Autoloader\\Localization\\Writer\\XmlWriter'];
示例6:
<?php
/** @var string $_EXTKEY */
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'faq', \HDNET\Faq\Utility\ExtensionUtility::getAutoloaderConfiguration());
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'Faq', ['Faq' => 'index,detail'], ['Faq' => 'index']);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'FaqTeaser', ['Faq' => 'teaser']);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'FaqEnter', ['Faq' => 'form,send,user,thanks'], ['Faq' => 'send,user,thanks']);
示例7: die
<?php
/**
* General ext_localconf file and also an example for your own extension
*
* @category Extension
* @package AutoloaderJson
* @author Tim Lochmüller
* @author Tito Duarte
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'autoloader_json', ['JsonServer']);
示例8: die
<?php
/**
* General ext_localconf file and also an example for your own extension
*
* @category Extension
* @package AutoloaderPlugin
* @author Tim Lochmüller
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'autoloader_plugin', ['Plugins']);
示例9: array
<?php
/** @var string $_EXTKEY */
$loader = array('SmartObjects', 'ExtensionTypoScriptSetup', 'ContextSensitiveHelps', 'FlexForms', 'StaticTyposcript', 'ExtensionId');
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'faq', $loader);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'Faq', array('Faq' => 'index,detail'), array('Faq' => 'index'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'FaqTeaser', array('Faq' => 'teaser'));
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('HDNET.' . $_EXTKEY, 'FaqEnter', array('Faq' => 'form,send,user,thanks'), array('Faq' => 'send,user,thanks'));