[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 342 lignes (10 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
sfConfigCache:: (8 méthodes):
getInstance()
callHandler()
checkConfig()
clear()
getCacheName()
import()
loadConfigHandlers()
writeCacheFile()
Classe: sfConfigCache - X-Ref
sfConfigCache allows you to customize the format of a configuration file togetInstance() X-Ref |
Retrieves the singleton instance of this class. return: sfConfigCache A sfConfigCache instance |
callHandler($handler, $configs, $cache) X-Ref |
Loads a configuration handler. param: string The handler to use when parsing a configuration file param: array An array of absolute filesystem paths to configuration files param: string An absolute filesystem path to the cache file that will be written |
checkConfig($configPath, $optional = false) X-Ref |
Checks to see if a configuration file has been modified and if so recompile the cache file associated with it. The recompilation only occurs in a non debug environment. If the configuration file path is relative, symfony will look in directories defined in the sfLoader::getConfigPaths() method. param: string A filesystem path to a configuration file return: string An absolute filesystem path to the cache filename associated with this specified configuration file |
clear() X-Ref |
Clears all configuration cache files. |
getCacheName($config) X-Ref |
Converts a normal filename into a cache filename. param: string A normal filename return: string An absolute filesystem path to a cache filename |
import($config, $once = true, $optional = false) X-Ref |
Imports a configuration file. param: string A filesystem path to a configuration file param: bool Only allow this configuration file to be included once per request? |
loadConfigHandlers() X-Ref |
Loads all configuration application and module level handlers. |
writeCacheFile($config, $cache, &$data) X-Ref |
Writes a cache file. param: string An absolute filesystem path to a configuration file param: string An absolute filesystem path to the cache file that will be written param: string Data to be written to the cache file |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |