-
-
Check lock files to see if we're not in a cache cleaning process.
-
Configures the current configuration.
Override this method if you want to customize your application configuration.
-
(array) filterAutoloadConfig ($event, $config)
Browse code
Adds enabled plugins to autoload config.
-
(string) getApplication ()
Browse code
Returns the application name.
returns The application name
-
(sfConfigCache) getConfigCache ()
Browse code
Returns a configuration cache object for the current configuration.
returns A sfConfigCache instance
-
(array) getConfigPaths ($configPath)
Browse code
| $configPath |
The configuration path |
Gets the configuration file paths for a given relative configuration path.
returns An array of paths
-
(array) getControllerDirs ($moduleName)
Browse code
| $moduleName |
The module name |
Gets directories where controller classes are stored for a given module.
returns An array of directories
-
(string) getDecoratorDir ($template)
Browse code
| $template |
The template file |
Gets the decorator directory for a given template.
returns A template directory
-
(array) getDecoratorDirs ()
Browse code
Gets the decorator directories.
returns An array of the decorator directories
-
(string) getEnvironment ()
Browse code
Returns the environment name.
returns The environment name
-
(array) getHelperDirs ($moduleName)
Browse code
| $moduleName |
The module name |
Gets the helper directories for a given module name.
returns An array of directories
-
(array) getI18NDirs ($moduleName)
Browse code
| $moduleName |
The module name |
Gets the i18n directories to use for a given module.
returns An array of i18n directories
-
(array) getI18NGlobalDirs ()
Browse code
Gets the i18n directories to use globally.
returns An array of i18n directories
-
(array) getLibDirs ($moduleName)
Browse code
| $moduleName |
The module name |
Gets directories where lib files are stored for a given module.
returns An array of directories
-
@see sfProjectConfiguration
-
(string) getTemplateDir ($moduleName, $templateFile)
Browse code
| $moduleName |
The module name |
| $templateFile |
The template file |
Gets the template directory to use for a given module and template file.
returns A template directory
-
(array) getTemplateDirs ($moduleName)
Browse code
| $moduleName |
The module name |
Gets directories where template files are stored for a given module.
returns An array of directories
-
(string) getTemplatePath ($moduleName, $templateFile)
Browse code
| $moduleName |
The module name |
| $templateFile |
The template file |
Gets the template to use for a given module and template file.
returns A template path
-
(bool) hasLockFile ($lockFile, $maxLockFileLifeTime)
Browse code
| $lockFile |
Name of the lock file. |
| $maxLockFileLifeTime |
A max amount of life time for the lock file. |
Determines if a lock file is present.
returns true, if the lock file is present, otherwise false.
-
Various initializations.
-
Initialized the current configuration.
Override this method if you want to customize your application initialization.
-
Initializes plugin configuration objects.
-
Returns true if this configuration has debug enabled.
returns true if the configuration has debug enabled, false otherwise
-
loadHelpers ($helpers, $moduleName)
Browse code
| $helpers |
An array of helpers to load |
| $moduleName |
A module name (optional) |
Loads helpers.
-
| $appDir |
The absolute path to the app dir. |
Sets the app directory.
-
@see sfProjectConfiguration
-
| $rootDir |
The project root directory |
Sets the project root directory.
-
__construct ($environment, $debug, $rootDir, $dispatcher)
Browse code
| $environment |
The environment name |
| $debug |
true to enable debug mode |
| $rootDir |
The project root directory |
| $dispatcher |
An event dispatcher |
Constructor.