Метод | Описание | |
---|---|---|
__construct ( |
Public constructor. Determines the priority of this class and if it should be enabled | |
postRender ( string $view, string $task ) : void | Echoes any HTML to show after the view template | |
preRender ( string $view, string $task ) : void | Echoes any HTML to show before the view template | |
renderFieldset ( stdClass &$fieldset, |
Renders a raw fieldset of a F0FForm and returns the corresponding HTML | |
renderFieldsetLabel ( object $field, |
Renders a label for a fieldset. | |
renderForm ( |
Renders a Form and returns the corresponding HTML | |
renderFormBrowse ( |
Renders a Form for a Browse view and returns the corresponding HTML | |
renderFormEdit ( |
Renders a Form for an Edit view and returns the corresponding HTML | |
renderFormRaw ( |
Renders a raw Form and returns the corresponding HTML | |
renderFormRead ( |
Renders a Form for a Read view and returns the corresponding HTML |
Метод | Описание | |
---|---|---|
loadValidationScript ( |
Loads the validation script for an edit form | |
renderButtons ( string $view, string $task ) : void | Renders the toolbar buttons | |
renderLinkbar ( string $view, string $task ) : void | Renders the submenu (link bar) | |
renderLinkbarItems ( |
Render the linkbar | |
renderLinkbar_classic ( string $view, string $task ) : void | Renders the submenu (link bar) in F0F's classic style, using a Bootstrapped tab bar. | |
renderLinkbar_joomla ( string $view, string $task ) : void | Renders the submenu (link bar) using Joomla!'s style. On Joomla! 2.5 this is a list of bar separated links, on Joomla! 3 it's a sidebar at the left-hand side of the page. |
public __construct ( |
||
$container |
protected loadValidationScript ( |
||
$form | ||
Результат | void |
public renderFieldset ( stdClass &$fieldset, |
||
$fieldset | stdClass | |
$form | ||
$model | The model providing our data | |
$formType | string | The form type e.g. 'edit' or 'read' |
$showHeader | boolean | Should I render the fieldset's header? |
$innerHtml | string | Render inner tab if set |
Результат | string | The HTML rendering of the fieldset |
public renderForm ( |
||
$form | ||
$model | The model providing our data | |
$formType | string | The form type: edit, browse or read |
$raw | boolean | If true, the raw form fields rendering (without the surrounding form tag) is returned. |
Результат | string | The HTML rendering of the form |
public renderFormBrowse ( |
||
$form | ||
$model | The model providing our data | |
Результат | string | The HTML rendering of the form |
public renderFormEdit ( |
||
$form | ||
$model | The model providing our data | |
Результат | string | The HTML rendering of the form |
public renderFormRaw ( |
||
$form | ||
$model | The model providing our data | |
$formType | string | The form type e.g. 'edit' or 'read' |
Результат | string | The HTML rendering of the form |
public renderFormRead ( |
||
$form | ||
$model | The model providing our data | |
Результат | string | The HTML rendering of the form |
protected renderLinkbarItems ( |
||
$toolbar | A toolbar object | |
Результат | void |