[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/config/ -> sfLoader.class.php (sommaire)

(pas de description)

Poids: 375 lignes (11 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

sfLoader:: (13 méthodes):
  getModelDirs()
  getControllerDirs()
  getTemplateDirs()
  getTemplateDir()
  getTemplatePath()
  getI18NDir()
  getGeneratorTemplateDirs()
  getGeneratorSkeletonDirs()
  getGeneratorTemplate()
  getConfigPaths()
  getHelperDirs()
  loadHelpers()
  loadPluginConfig()


Classe: sfLoader  - X-Ref

sfLoader is a class which contains the logic to look for files/classes in symfony.

getModelDirs()   X-Ref
Gets directories where model classes are stored.

return: array An array of directories

getControllerDirs($moduleName)   X-Ref
Gets directories where controller classes are stored for a given module.

param: string The module name
return: array An array of directories

getTemplateDirs($moduleName)   X-Ref
Gets directories where template files are stored for a given module.

param: string The module name
return: array An array of directories

getTemplateDir($moduleName, $templateFile)   X-Ref
Gets the template directory to use for a given module and template file.

param: string The module name
param: string The template file
return: string A template directory

getTemplatePath($moduleName, $templateFile)   X-Ref
Gets the template to use for a given module and template file.

param: string The module name
param: string The template file
return: string A template path

getI18NDir($moduleName)   X-Ref
Gets the i18n directory to use for a given module.

param: string The module name
return: string An i18n directory

getGeneratorTemplateDirs($class, $theme)   X-Ref
Gets directories where template files are stored for a generator class and a specific theme.

param: string The generator class name
param: string The theme name
return: array An array of directories

getGeneratorSkeletonDirs($class, $theme)   X-Ref
Gets directories where the skeleton is stored for a generator class and a specific theme.

param: string The generator class name
param: string The theme name
return: array An array of directories

getGeneratorTemplate($class, $theme, $path)   X-Ref
Gets the template to use for a generator class.

param: string The generator class name
param: string The theme name
param: string The template path
return: string A template path

getConfigPaths($configPath)   X-Ref
Gets the configuration file paths for a given relative configuration path.

param: string The configuration path
return: array An array of paths

getHelperDirs($moduleName = '')   X-Ref
Gets the helper directories for a given module name.

param: string The module name
return: array An array of directories

loadHelpers($helpers, $moduleName = '')   X-Ref
Loads helpers.

param: array  An array of helpers to load
param: string A module name (optional)

loadPluginConfig()   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7