| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
sfGenerator is the abstract base class for all generators.
| Author: | Fabien Potencier <fabien.potencier@symfony-project.com> |
| Version: | SVN: $Id: sfGenerator.class.php 3513 2007-02-19 13:42:16Z fabien $ |
| Poids: | 234 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| initialize($generatorManager) X-Ref |
| Initializes the current sfGenerator instance. param: sfGeneratorManager A sfGeneratorManager instance |
| generatePhpFiles($generatedModuleName, $templateFiles = array() X-Ref |
| Generates PHP files for a given module name. param: string The name of module name to generate param: array A list of template files to generate param: array A list of configuration files to generate |
| evalTemplate($templateFile) X-Ref |
| Evaluates a template file. param: string The template file path return: string The evaluated template |
| replacePhpMarks($text) X-Ref |
| Replaces PHP marks by <?php ?>. param: string The PHP code return: string The converted PHP code |
| getGeneratorClass() X-Ref |
| Gets the generator class. return: string The generator class |
| setGeneratorClass($generator_class) X-Ref |
| Sets the generator class. param: string The generator class |
| getGeneratorManager() X-Ref |
| Gets the sfGeneratorManager instance. return: string The sfGeneratorManager instance |
| getGeneratedModuleName() X-Ref |
| Gets the module name of the generated module. return: string The module name |
| setGeneratedModuleName($module_name) X-Ref |
| Sets the module name of the generated module. param: string The module name |
| getModuleName() X-Ref |
| Gets the module name. return: string The module name |
| setModuleName($module_name) X-Ref |
| Sets the module name. param: string The module name |
| getTheme() X-Ref |
| Gets the theme name. return: string The theme name |
| setTheme($theme) X-Ref |
| Sets the theme name. param: string The theme name |
| __call($method, $arguments) X-Ref |
| Calls methods defined via the sfMixer class. param: string The method name param: array The method arguments return: mixed The returned value of the called method |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |