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


PHP ExtensionManagementUtility::loadExtLocalconf方法代码示例

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


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

示例1: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     /** @var CacheManager|\PHPUnit_Framework_MockObject_MockObject $mockCacheManager */
     $mockCacheManager = $this->getMock(CacheManager::class, array('getCache'));
     $mockCacheManager->expects($this->never())->method('getCache');
     ExtensionManagementUtilityAccessibleProxy::setCacheManager($mockCacheManager);
     $GLOBALS['TYPO3_LOADED_EXT'] = new LoadedExtensionsArray($this->createMockPackageManagerWithMockPackage($this->getUniqueId()));
     ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
开发者ID:plan2net,项目名称:TYPO3.CMS,代码行数:12,代码来源:ExtensionManagementUtilityTest.php

示例2: loadTypo3LoadedExtAndExtLocalconf

 /**
  * Load ext_localconf of extensions
  *
  * @param bool $allowCaching
  * @return Bootstrap
  * @internal This is not a public API method, do not use in own extensions
  */
 public function loadTypo3LoadedExtAndExtLocalconf($allowCaching = true)
 {
     ExtensionManagementUtility::loadExtLocalconf($allowCaching);
     return $this;
 }
开发者ID:TYPO3Incubator,项目名称:TYPO3.CMS,代码行数:12,代码来源:Bootstrap.php

示例3: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     \TYPO3\CMS\Core\Utility\OpcodeCacheUtility::clearAllActive();
     // Reload class aliases defined in Migrations/Code/ClassAliasMap.php
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->getEarlyInstance('TYPO3\\CMS\\Core\\Core\\ClassLoader')->setPackages($this->packageManager->getActivePackages());
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
开发者ID:khanhdeux,项目名称:typo3test,代码行数:13,代码来源:InstallUtility.php

示例4: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     $mockCacheManager = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager', array('getCache'));
     $mockCacheManager->expects($this->never())->method('getCache');
     ExtensionManagementUtilityAccessibleProxy::setCacheManager($mockCacheManager);
     $GLOBALS['TYPO3_LOADED_EXT'] = new \TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray($this->createMockPackageManagerWithMockPackage($this->getUniqueId()));
     ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
开发者ID:KarlDennisMatthaei1923,项目名称:PierraaDesign,代码行数:11,代码来源:ExtensionManagementUtilityTest.php

示例5: loadAdditionalConfigurationFromExtensions

 /**
  * Load extension configuration files (ext_localconf.php)
  *
  * The ext_localconf.php files in extensions are meant to make changes
  * to the global $TYPO3_CONF_VARS configuration array.
  *
  * @param boolean $allowCaching
  * @return \TYPO3\CMS\Core\Core\Bootstrap
  */
 protected function loadAdditionalConfigurationFromExtensions($allowCaching = TRUE)
 {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf($allowCaching);
     return $this;
 }
开发者ID:nicksergio,项目名称:TYPO3v4-Core,代码行数:14,代码来源:Bootstrap.php

示例6: initializeExtensionConfiguration

 /**
  * @param ConsoleBootstrap $bootstrap
  */
 public static function initializeExtensionConfiguration(ConsoleBootstrap $bootstrap)
 {
     // Manual load GlobalDebugFunctions.php for TYPO3 CMS <= 7.3
     if (file_exists(PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php')) {
         require_once PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php';
     }
     ExtensionManagementUtility::loadExtLocalconf();
     $bootstrap->applyAdditionalConfigurationSettings();
 }
开发者ID:beechit,项目名称:typo3_console,代码行数:12,代码来源:Scripts.php

示例7: initializeExtensionConfiguration

 /**
  * @param ConsoleBootstrap $bootstrap
  */
 public static function initializeExtensionConfiguration(ConsoleBootstrap $bootstrap)
 {
     require_once PATH_site . 'typo3/sysext/core/Classes/Core/GlobalDebugFunctions.php';
     ExtensionManagementUtility::loadExtLocalconf();
     $bootstrap->applyAdditionalConfigurationSettings();
 }
开发者ID:ppwGschmechel,项目名称:typo3_console,代码行数:9,代码来源:Scripts.php

示例8: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     GeneralUtility::makeInstance(OpcodeCacheService::class)->clearAllActive();
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
开发者ID:plan2net,项目名称:TYPO3.CMS,代码行数:11,代码来源:InstallUtility.php

示例9: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     $this->reloadOpcache();
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(false);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(false);
 }
开发者ID:hlop,项目名称:TYPO3.CMS,代码行数:11,代码来源:InstallUtility.php

示例10: reloadCaches

 /**
  * Reload Cache files and Typo3LoadedExtensions
  *
  * @return void
  */
 public function reloadCaches()
 {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
     \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadExtensionTables(FALSE);
 }
开发者ID:Mr-Robota,项目名称:TYPO3.CMS,代码行数:10,代码来源:InstallUtility.php

示例11: loadExtTablesDoesNotReadFromCacheIfCachingIsDenied

 /**
  * @test
  */
 public function loadExtTablesDoesNotReadFromCacheIfCachingIsDenied()
 {
     $GLOBALS['typo3CacheManager'] = $this->getMock('TYPO3\\CMS\\Core\\Cache\\CacheManager', array('getCache'));
     $GLOBALS['typo3CacheManager']->expects($this->never())->method('getCache');
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(FALSE);
 }
开发者ID:nicksergio,项目名称:TYPO3v4-Core,代码行数:9,代码来源:ExtensionMangementUtilityTest.php


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