Form_Field_HtmlDecorator_Model Class Reference
This class solves the issue of being able to inject HTML between form elements, while still being able to do a simple `$form->get_view()` and rely on the standard view rendering the form as you'd like to.
More...
Detailed Description
This class solves the issue of being able to inject HTML between form elements, while still being able to do a simple `$form->get_view()` and rely on the standard view rendering the form as you'd like to.
In contrast, had this class not existed, you would need to create custom form views for every form that wants to inject a piece of text between form elements.
Constructor & Destructor Documentation
Form_Field_HtmlDecorator_Model::__construct |
( |
$ |
html |
) |
|
- Parameters:
-
| $html | string The HTML to inject |
Member Function Documentation
Form_Field_HtmlDecorator_Model::get_html |
( |
|
) |
|
Form_Field_HtmlDecorator_Model::get_type |
( |
|
) |
|
Form_Field_HtmlDecorator_Model::process_data |
( |
array $ |
raw_data, |
|
|
Form_Result_Model $ |
result | |
|
) |
| | |
The documentation for this class was generated from the following file:
- form_field_htmldecorator.php