symfony API

sfPropelFormFilterGenerator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

Propel filter form generator.

Inheritence

sfPropelFormFilterGenerator  <  sfPropelFormGenerator < sfGenerator

Method Summary

Methods inherited from sfPropelFormGenerator

generate , getColumnNameMaxLength , getForeignKeyNames , getForeignTable , getI18nModel , getManyToManyTables , getPrimaryKey , getPrimaryKeyColumNames , getPrimaryKeyColumNamesAsString , getUniqueColumnNames , getValidatorClassForColumn , getValidatorOptionsForColumn , getWidgetClassForColumn , getWidgetOptionsForColumn , initialize , isI18n , loadBuilders , translateColumnName , underscore

Methods inherited from sfGenerator

evalTemplate , generate , generatePhpFiles , getGeneratedModuleName , getGeneratorClass , getGeneratorManager , getModuleName , getTheme , initialize , replacePhpMarks , setGeneratedModuleName , setGeneratorClass , setModuleName , setTheme , __construct

Method Details

  • (string) generate ($params) Browse code

    $params The parameters

    Generates classes and templates in cache.

    returns The data to put in configuration cache

  • getType () Browse code

  • (string) getValidatorClassForColumn ($column) Browse code

    $column A ColumnMap object

    Returns a sfValidator class name for a given column.

    returns The name of a subclass of sfValidator

  • getValidatorForColumn () Browse code

  • (string) getValidatorOptionsForColumn ($column) Browse code

    $column A ColumnMap object

    Returns a PHP string representing options to pass to a validator for a given column.

    returns The options to pass to the validator as a PHP string

  • (string) getWidgetClassForColumn ($column) Browse code

    $column A ColumnMap object

    Returns a sfWidgetForm class name for a given column.

    returns The name of a subclass of sfWidgetForm

  • (string) getWidgetOptionsForColumn ($column) Browse code

    $column A ColumnMap object

    Returns a PHP string representing options to pass to a widget for a given column.

    returns The options to pass to the widget as a PHP string

  • initialize ($generatorManager) Browse code

    $generatorManager A sfGeneratorManager instance

    Initializes the current sfGenerator instance.