Method | Description | |
---|---|---|
generate ( array $params = [] ) : string | Generates classes and templates in cache. | |
getType ( ColumnMap $column ) | ||
getValidatorClassForColumn ( ColumnMap $column ) : string | Returns a sfValidator class name for a given column. | |
getValidatorForColumn ( $column ) | ||
getValidatorOptionsForColumn ( ColumnMap $column ) : string | Returns a PHP string representing options to pass to a validator for a given column. | |
getWidgetClassForColumn ( ColumnMap $column ) : string | Returns a sfWidgetForm class name for a given column. | |
getWidgetOptionsForColumn ( ColumnMap $column ) : string | Returns a PHP string representing options to pass to a widget for a given column. | |
initialize ( sfGeneratorManager $generatorManager ) | Initializes the current sfGenerator instance. |
public getValidatorClassForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
return | string | The name of a subclass of sfValidator |
public getValidatorOptionsForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
return | string | The options to pass to the validator as a PHP string |
public getWidgetClassForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
return | string | The name of a subclass of sfWidgetForm |
public getWidgetOptionsForColumn ( ColumnMap $column ) : string | ||
$column | ColumnMap | A ColumnMap object |
return | string | The options to pass to the widget as a PHP string |
public initialize ( sfGeneratorManager $generatorManager ) | ||
$generatorManager | sfGeneratorManager | A sfGeneratorManager instance |