Model generator configuration.
Method Details
-
-
fixActionParameters ()
Browse code
-
-
-
getContextConfiguration ()
Browse code
-
-
-
-
-
getFieldConfiguration ()
Browse code
-
(mixed) getFieldConfigValue ($config, $key, $default)
Browse code
| $config |
The configuration |
| $key |
The key name |
| $default |
The default value |
Gets the value for a given key.
returns The key value
-
-
-
-
-
-
-
-
-
-
-
getFilterFormOptions ()
Browse code
-
(sfForm) getForm ($object, $options)
Browse code
| $options |
An array of options to merge with the options returned by getFormOptions() |
Gets a new form object.
-
-
-
-
getFormFields ($form, $context)
Browse code
| $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)
Browse code
| $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).
-
-
-
getListBatchActions ()
Browse code
-
-
-
getListObjectActions ()
Browse code
-
-
-
-
-
-
-
(mixed) getValue ($key, $default, $escaped)
Browse code
| $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
-
-
-
-
Constructor.
|