當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Loader::extLocalconf方法代碼示例

本文整理匯總了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');
開發者ID:ercuement,項目名稱:ink,代碼行數:11,代碼來源:ext_localconf.php

示例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']);
開發者ID:Calius,項目名稱:autoloader,代碼行數:13,代碼來源:ext_localconf.php

示例3: die

<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$loader = ['Xclass', 'Hooks', 'SmartObjects', 'ExtensionTypoScriptSetup', 'Plugins', 'StaticTyposcript'];
\HDNET\Autoloader\Loader::extLocalconf('HDNET', 'focuspoint', $loader);
開發者ID:mcmz,項目名稱:focuspoint,代碼行數:7,代碼來源:ext_localconf.php

示例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'));
開發者ID:sirdiego,項目名稱:calendarize,代碼行數:17,代碼來源:ext_localconf.php

示例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'];
開發者ID:sirdiego,項目名稱:autoloader,代碼行數:15,代碼來源:ext_localconf.php

示例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']);
開發者ID:sirdiego,項目名稱:faq,代碼行數:7,代碼來源:ext_localconf.php

示例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']);
開發者ID:sirdiego,項目名稱:autoloader,代碼行數:14,代碼來源:ext_localconf.php

示例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']);
開發者ID:phogl,項目名稱:autoloader,代碼行數:13,代碼來源:ext_localconf.php

示例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'));
開發者ID:raphaelweber,項目名稱:faq,代碼行數:8,代碼來源:ext_localconf.php


注:本文中的HDNET\Autoloader\Loader::extLocalconf方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。