|
| __construct () |
|
| preRender ($view, $task, $input, $config=array()) |
|
| postRender ($view, $task, $input, $config=array()) |
|
| getInformation () |
|
| preRender ($view, $task, $input, $config=array()) |
|
| postRender ($view, $task, $input, $config=array()) |
|
| renderForm (FOFForm &$form, FOFModel $model, FOFInput $input, $formType=null, $raw=false) |
|
| renderCategoryLinkbar ($extension, $config=array()) |
|
|
| renderFormBrowse (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormRead (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormEdit (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormRaw (FOFForm &$form, FOFModel $model, FOFInput $input, $formType) |
|
| renderFieldset (stdClass &$fieldset, FOFForm &$form, FOFModel $model, FOFInput $input, $formType, $showHeader=true) |
|
| renderFieldsetLabel ($field, FOFForm &$form, $title) |
|
| loadValidationScript (FOFForm &$form) |
|
| renderLinkbar ($view, $task, $input, $config=array()) |
|
| renderLinkbarItems ($toolbar) |
|
| renderButtons ($view, $task, $input, $config=array()) |
|
| renderFormBrowse (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormRead (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormEdit (FOFForm &$form, FOFModel $model, FOFInput $input) |
|
| renderFormRaw (FOFForm &$form, FOFModel $model, FOFInput $input, $formType) |
|
| renderFieldset (stdClass &$fieldset, FOFForm &$form, FOFModel $model, FOFInput $input, $formType, $showHeader=true) |
|
| renderFieldsetLabel ($field, FOFForm &$form, $title) |
|
| isTabFieldset ($fieldset) |
|
◆ __construct()
Public constructor. Determines the priority of this class and if it should be enabled
◆ loadValidationScript()
loadValidationScript |
( |
FOFForm & |
$form | ) |
|
|
protected |
◆ postRender()
postRender |
( |
|
$view, |
|
|
|
$task, |
|
|
|
$input, |
|
|
|
$config = array() |
|
) |
| |
Echoes any HTML to show after the view template
- Paramètres
-
string | $view | The current view |
string | $task | The current task |
FOFInput | $input | The input array (request parameters) |
array | $config | The view configuration array |
- Renvoie
- void
Références $format, $input, et FOFPlatform\getInstance().
◆ preRender()
preRender |
( |
|
$view, |
|
|
|
$task, |
|
|
|
$input, |
|
|
|
$config = array() |
|
) |
| |
Echoes any HTML to show before the view template
- Paramètres
-
string | $view | The current view |
string | $task | The current task |
FOFInput | $input | The input array (request parameters) |
array | $config | The view configuration array |
- Renvoie
- void
Références $classes, $config, $format, $input, $layout, $minorVersion, $option, $task, $version, $view, elseif, et FOFPlatform\getInstance().
◆ renderButtons()
renderButtons |
( |
|
$view, |
|
|
|
$task, |
|
|
|
$input, |
|
|
|
$config = array() |
|
) |
| |
|
protected |
◆ renderFieldset()
Renders a raw fieldset of a FOFForm and returns the corresponding HTML
- Paramètres
-
stdClass | &$fieldset | The fieldset to render |
FOFForm | &$form | The form to render |
FOFModel | $model | The model providing our data |
FOFInput | $input | The input object |
string | $formType | The form type e.g. 'edit' or 'read' |
boolean | $showHeader | Should I render the fieldset's header? |
- Renvoie
- string The HTML rendering of the fieldset
The following code is backwards incompatible. Most forms don't require a description in their form fields. Having to use emptydescription="1" on each one of them is an overkill. Removed.
Références $class, $description, $field, $fields, $form, $groupClass, $html, $input, $title, elseif, et FOFModel\getName().
◆ renderFieldsetLabel()
renderFieldsetLabel |
( |
|
$field, |
|
|
FOFForm & |
$form, |
|
|
|
$title |
|
) |
| |
|
protected |
◆ renderFormBrowse()
Renders a FOFForm for a Browse view and returns the corresponding HTML
- Paramètres
-
- Renvoie
- string The HTML rendering of the form
Références $attribs, $buttons, $class, $count, $field, $fields, $filter, $form, $html, $i, $input, $item, $itemid, $items, $label, $labelClass, $options, $uri, elseif, FOFPlatform\getInstance(), et FOFInflector\pluralize().
◆ renderFormEdit()
Renders a FOFForm for an Edit view and returns the corresponding HTML
- Paramètres
-
- Renvoie
- string The HTML rendering of the form
Références $class, $form, $html, $input, $itemid, $key, $uri, $validate, FOFModel\getId(), FOFPlatform\getInstance(), et FOFModel\getTable().
◆ renderFormRaw()
Renders a raw FOFForm and returns the corresponding HTML
- Paramètres
-
FOFForm | &$form | The form to render |
FOFModel | $model | The model providing our data |
FOFInput | $input | The input object |
string | $formType | The form type e.g. 'edit' or 'read' |
- Renvoie
- string The HTML rendering of the form
Références $form, $html, et $input.
◆ renderFormRead()
Renders a FOFForm for a Read view and returns the corresponding HTML
- Paramètres
-
- Renvoie
- string The HTML rendering of the form
Références $form, $html, et $input.
◆ renderLinkbar()
renderLinkbar |
( |
|
$view, |
|
|
|
$task, |
|
|
|
$input, |
|
|
|
$config = array() |
|
) |
| |
|
protected |
◆ renderLinkbarItems()
renderLinkbarItems |
( |
|
$toolbar | ) |
|
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :