| Renderer |
| [ class tree: Renderer ] [ index: Renderer ] [ all elements ] |
|
Packages: Formagic Filter Item Renderer Rule Translator Files: Interfaces: Classes: |
[ Top ] $_containerWrapperTemplate = array('' =>
|
| access: | protected |
| Type: | array |
[line 120]
| access: | protected |
| Type: | mixed |
[line 42]
Form wrapping template array| access: | protected |
| Type: | array |
[line 134]
Hidden inputs string| access: | protected |
| Type: | string |
[line 116]
Array of templates for displaying the item error string (list elements)| access: | protected |
| Type: | array |
[line 108]
Array of templates for item's error wrapper (list open tag)| access: | protected |
| Type: | array |
[line 100]
Template for displaying the item label array| access: | protected |
| Type: | array |
[line 87]
Template for rows containing normal items array| access: | protected |
| Type: | array |
[line 126]
HTML string for mandatory fields array| access: | protected |
| Type: | array |
[line 140]
Translator object| access: | protected |
| Type: | Formagic_Translator |
|
| access: | public |
Overridden in child classes as:
| Formagic_Translator | $translator | Translator instance |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Container | $container | Optional. Returns a template defined for one specific container. |
|
| return: | Template string |
| access: | public |
| string|Foramgic_Item_Container | $container | Optional. Returns a template defined for one specific container. |
|
| return: | Template string |
| access: | public |
| string | $container | Optional. Returns a template defined for one specific item with name $name. |
|
| return: | Template string |
| access: | public |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Abstract | $item | Optional. Returns a template defined for one specific item. |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Abstract | $item | Optional. Returns a template defined for one specific item. |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Abstract | $item | Optional. Returns a template defined for one specific item. |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Abstract | $item | Optional. Returns a template defined for one specific item. |
|
| return: | Template string |
| access: | public |
| string|Formagic_Item_Abstract | $item | Optional. Returns a template defined for one specific item. |
|
| return: | Translator object |
| access: | public |
|
| return: | The rendered HTML string |
| access: | public |
| Formagic | $form | Formagic object to be rendered. |
|
Available placeholders:
| return: | Fluent interface |
| see: | Formagic_Renderer_Html::setContainerWrapperTemplate() |
| see: | Formagic_Renderer_Html::setContainerRowTemplate() |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Container | $container | Optional. Defines this template only for a specific container (name or container object). |
|
Supported placeholders:
| return: | Fluent interface |
| see: | Formagic_Renderer_Html::setContainerLabelTemplate() |
| see: | Formagic_Renderer_Html::setContainerWrapperTemplate() |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Container | $container | Optional. Defines this template only for a specific container. |
|
Available placeholders:
| return: | Fluent interface |
| see: | Formagic_Renderer_Html::setContainerLabelTemplate() |
| see: | Formagic_Renderer_Html::setContainerRowTemplate() |
| access: | public |
| type | $template | Template string |
| string|Formagic_Item_Container | $container | Optional. Defines this template only for a specific container. |
|
This css class is per default added to the label and error list tag of items that did not pass validation.
| return: | Fluent interface |
| access: | public |
| string | $errorClass | New error class |
|
Available placeholders:
| return: | Fluent interface |
| access: | public |
| string | $template | Template string |
|
Supported placeholders:
| return: | Fluent interface |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Abstract | $item | Optional. Defines this template only for a specific item (name or item object). |
|
Supported placeholders:
| return: | Fluent interface |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Abstract | $item | Optional. Defines this template only for a specific item (name or item object). |
|
Available placeholders:
| return: | Fluent interface |
| see: | Formagic_Renderer_Html::setItemRowTemplate() |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Abstract | $item | Optional. Defines this template only for a specific item (name or item object). |
|
| return: | Fluent interface |
| see: | Formagic_Renderer_Html::setItemLabelTemplate() |
| see: | Formagic_Renderer_Html::setItemErrorTemplate() |
| access: | public |
| string | $template | Template string |
| string|Formagic_Item_Abstract | $item | Optional. Defines this template only for a specific item (name or item object). |
|
| return: | Fluent interface |
| access: | public |
| type | $template | Template string |
| type | $item | Optional. Item this template is to be defined for. |
|
| access: | protected |
| Formagic_Item_Hidden | $item | Hidden item to be rendered. |
|
Returns empty string if no container label is defined.
| return: | Container label and template string |
| access: | protected |
| Formagic_Item_Container | $container | Container item |
|
Returns empty array if item validated ok.
| return: | Error list and class attribute. Example:
|
| access: | protected |
| Formagic_Item_Abstract | $item |
|
Returns a non-breakin-space HTML entity if no item label is provided.
| return: | Item label and template |
| access: | protected |
| Formagic_Item_Abstract | $item | Input item |
|
| return: | Template string |
| access: | private |
| type | $templateArray | Pool of templates to choose from. |
| Formagic_Item_Abstract | $item |
|
| return: | HTML string |
| access: | protected |
| object | $container | Container to be rendererd |
|
| access: | protected |
| array | $templateArray | Template pool new template is to be added to |
| string | $template | New template string |
| string|Formagic_Item_Abstract | $item | |
| &$templateArray |