本文整理汇总了PHP中TYPO3\CMS\Core\Extension\ExtensionManager::loadExtLocalconf方法的典型用法代码示例。如果您正苦于以下问题:PHP ExtensionManager::loadExtLocalconf方法的具体用法?PHP ExtensionManager::loadExtLocalconf怎么用?PHP ExtensionManager::loadExtLocalconf使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TYPO3\CMS\Core\Extension\ExtensionManager
的用法示例。
在下文中一共展示了ExtensionManager::loadExtLocalconf方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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\Extension\ExtensionManager::loadExtLocalconf(FALSE);
}
示例2: 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
*/
public function loadAdditionalConfigurationFromExtensions($allowCaching = TRUE)
{
\TYPO3\CMS\Core\Extension\ExtensionManager::loadExtLocalconf($allowCaching);
return $this;
}