symfony API

sfGeneratorManager Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

You are currently browsing the symfony documentation for the 1.0 version. Switch to:

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

Method Summary

  • initialize()
    Initializes the sfGeneratorManager instance.
  • getCache()
    Returns the current sfCache implementation instance.
  • string generate($generator_class, $param)
    Generates classes and templates for a given generator class.

Method Details

  • initialize ()

    Initializes the sfGeneratorManager instance.

  • getCache ()

    Returns the current sfCache implementation instance.

    returns A sfCache implementation instance

  • (string) generate ($generator_class, $param)

    $generator_class 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