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


PHP t3lib_extMgm::typo3_loadExtensions方法代码示例

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


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

示例1: refreshGlobalExtList

 /**
  * Refreshes the global extension list
  *
  * @return void
  */
 public static function refreshGlobalExtList()
 {
     global $TYPO3_LOADED_EXT;
     $TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
     if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
         require PATH_typo3conf . $TYPO3_LOADED_EXT['_CACHEFILE'] . '_ext_localconf.php';
     }
     return;
     $GLOBALS['TYPO3_LOADED_EXT'] = t3lib_extMgm::typo3_loadExtensions();
     if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
         require PATH_typo3conf . $TYPO3_LOADED_EXT['_CACHEFILE'] . '_ext_localconf.php';
     } else {
         $temp_TYPO3_LOADED_EXT = $TYPO3_LOADED_EXT;
         foreach ($temp_TYPO3_LOADED_EXT as $_EXTKEY => $temp_lEDat) {
             if (is_array($temp_lEDat) && $temp_lEDat['ext_localconf.php']) {
                 $_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY];
                 require $temp_lEDat['ext_localconf.php'];
             }
         }
     }
 }
开发者ID:NaveedWebdeveloper,项目名称:Test,代码行数:26,代码来源:class.tx_em_tools.php

示例2: define

define('TYPO3_REQUESTTYPE_FE', 1);
define('TYPO3_REQUESTTYPE_BE', 2);
define('TYPO3_REQUESTTYPE_CLI', 4);
define('TYPO3_REQUESTTYPE_AJAX', 8);
define('TYPO3_REQUESTTYPE_INSTALL', 16);
define('TYPO3_REQUESTTYPE', (TYPO3_MODE == 'FE' ? TYPO3_REQUESTTYPE_FE : 0) | (TYPO3_MODE == 'BE' ? TYPO3_REQUESTTYPE_BE : 0) | (defined('TYPO3_cliMode') && TYPO3_cliMode ? TYPO3_REQUESTTYPE_CLI : 0) | (defined('TYPO3_enterInstallScript') && TYPO3_enterInstallScript ? TYPO3_REQUESTTYPE_INSTALL : 0) | ($TYPO3_AJAX ? TYPO3_REQUESTTYPE_AJAX : 0));
// *********************
// Autoloader
// *********************
require_once PATH_t3lib . 'class.t3lib_autoloader.php';
t3lib_autoloader::registerAutoloader();
// Load extensions:
if (TYPO3_MODE == 'FE' && is_object($TT)) {
    $TT->push('Loading localconf.php extensions', '');
}
$TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
    require PATH_typo3conf . $TYPO3_LOADED_EXT['_CACHEFILE'] . '_ext_localconf.php';
} else {
    $temp_TYPO3_LOADED_EXT = $TYPO3_LOADED_EXT;
    foreach ($temp_TYPO3_LOADED_EXT as $_EXTKEY => $temp_lEDat) {
        if (is_array($temp_lEDat) && $temp_lEDat['ext_localconf.php']) {
            $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
            require $temp_lEDat['ext_localconf.php'];
        }
    }
}
if (TYPO3_MODE == 'FE' && is_object($TT)) {
    $TT->pull();
}
require_once t3lib_extMgm::extPath('lang') . 'lang.php';
开发者ID:zsolt-molnar,项目名称:TYPO3-4.5-trunk,代码行数:31,代码来源:config_default.php

示例3: updateWizard

 /**
  * Generates update wizard
  *
  * @return void
  */
 function updateWizard()
 {
     global $TYPO3_CONF_VARS;
     // clear cache files
     t3lib_extMgm::removeCacheFiles();
     // generate new cache files and include them
     $GLOBALS['TYPO3_CONF_VARS']['EXT']['extCache'] = 1;
     $TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
     if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
         require PATH_typo3conf . $TYPO3_LOADED_EXT['_CACHEFILE'] . '_ext_localconf.php';
     }
     // call wizard
     $action = $this->INSTALL['database_type'] ? $this->INSTALL['database_type'] : 'checkForUpdate';
     $this->updateWizard_parts($action);
     $this->output($this->outputWrapper($this->printAll()));
 }
开发者ID:zsolt-molnar,项目名称:TYPO3-4.5-trunk,代码行数:21,代码来源:class.tx_install.php


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