symfony API

sfModelGeneratorConfiguration Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 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.

Model generator configuration.

Method Summary

Method Details

  • compile ()

  • fixActionParameters ()

  • getActionsDefault ()

  • getConfig ()

  • getContextConfiguration ()

  • getCredentials ()

  • getEditActions ()

  • getEditDisplay ()

  • getEditTitle ()

  • getFieldConfiguration ()

  • (mixed) getFieldConfigValue ($config, $key, $default)

    $config The configuration
    $key The key name
    $default The default value

    Gets the value for a given key.

    returns The key value

  • getFieldsDefault ()

  • getFieldsEdit ()

  • getFieldsFilter ()

  • getFieldsForm ()

  • getFieldsList ()

  • getFieldsNew ()

  • getFilterDefaults ()

  • getFilterDisplay ()

  • getFilterForm ()

  • getFilterFormClass ()

  • getFilterFormOptions ()

  • (sfForm) getForm ($object, $options)

    $options An array of options to merge with the options returned by getFormOptions()

    Gets a new form object.

  • getFormActions ()

  • getFormClass ()

  • getFormDisplay ()

  • getFormFields ($form, $context)

    $form The form with the fields
    $context The display context

    Gets the fields that represents the form.


    If no form.display parameter is passed in the configuration,
    all the fields from the form are returned (dynamically).

  • getFormFilterFields ($form)

    $form The form with the fields

    Gets the fields that represents the filters.


    If no filter.display parameter is passed in the configuration,
    all the fields from the form are returned (dynamically).

  • getFormOptions ()

  • getListActions ()

  • getListBatchActions ()

  • getListDisplay ()

  • getListLayout ()

  • getListObjectActions ()

  • getListParams ()

  • getListTitle ()

  • getNewActions ()

  • getNewDisplay ()

  • getNewTitle ()

  • getPager ()

  • (mixed) getValue ($key, $default, $escaped)

    $key The configuration key (title.list.name for example)
    $default The default value if none has been defined
    $escaped Whether to escape single quote (false by default)

    Gets the configuration for a given field.

    returns The configuration value

  • hasFilterForm ()

  • mapFieldName ()

  • parseVariables ()

  • __construct ()

    Constructor.