symfony API

sfGeneratorManager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfGeneratorManager helps generate classes, views and templates for scaffolding, admin interface, ...

Method Summary

  • string generate($generatorClass, $param)
    Generates classes and templates for a given generator class.
  • sfProjectConfiguration getConfiguration()
    Returns the current configuration instance.
  • initialize($configuration)
    Initializes the sfGeneratorManager instance.
  • save()
  • __construct($configuration)
    Class constructor.

Method Details

  • (string) generate ($generatorClass, $param) Browse code

    $generatorClass The generator class name
    $param An array of parameters

    Generates classes and templates for a given generator class.

    returns The cache for the configuration file

  • (sfProjectConfiguration) getConfiguration () Browse code

    Returns the current configuration instance.

    returns A sfProjectConfiguration instance

  • initialize ($configuration) Browse code

    $configuration A sfProjectConfiguration instance

    Initializes the sfGeneratorManager instance.

  • save () Browse code

  • __construct ($configuration) Browse code

    $configuration A sfProjectConfiguration instance

    Class constructor.