Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct () | |
preRender ($view, $task, $input, $config=array()) | |
postRender ($view, $task, $input, $config=array()) | |
Fonctions membres publiques hérités de FOFRenderAbstract | |
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()) | |
Fonctions membres protégées | |
loadValidationScript (FOFForm &$form) | |
renderLinkbar ($view, $task, $input, $config=array()) | |
renderLinkbar_classic ($view, $task, $input, $config=array()) | |
renderLinkbar_joomla ($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, &$innerHtml=null) | |
renderFieldsetLabel ($field, FOFForm &$form, $title) | |
Fonctions membres protégées hérités de FOFRenderAbstract | |
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) | |
Membres hérités additionnels | |
Attributs protégés hérités de FOFRenderAbstract | |
$priority = 50 | |
$enabled = false | |
__construct | ( | ) |
Public constructor. Determines the priority of this class and if it should be enabled
|
protected |
postRender | ( | $view, | |
$task, | |||
$input, | |||
$config = array() |
|||
) |
Echoes any HTML to show after the view template
string | $view | The current view |
string | $task | The current task |
FOFInput | $input | The input array (request parameters) |
array | $config | The view configuration array |
Références $format, $input, JHtmlSidebar\getEntries(), et FOFPlatform\getInstance().
preRender | ( | $view, | |
$task, | |||
$input, | |||
$config = array() |
|||
) |
Echoes any HTML to show before the view template
string | $view | The current view |
string | $task | The current task |
FOFInput | $input | The input array (request parameters) |
array | $config | The view configuration array |
Références $classes, $config, $format, $input, $layout, $minorVersion, $option, $task, $version, $view, elseif, et FOFPlatform\getInstance().
|
protected |
Renders the toolbar buttons
string | $view | The active view name |
string | $task | The current task |
FOFInput | $input | The input object |
array | $config | Extra configuration variables for the toolbar |
Références $action, $button, $config, $html, $id, $input, $items, $title, $toolbar, $type, FOFToolbar\getAnInstance(), FOFPlatform\getInstance(), et null.
|
protected |
Renders a raw fieldset of a FOFForm and returns the corresponding HTML
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? |
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().
|
protected |
Renders a label for a fieldset.
object | $field | The field of the label to render |
FOFForm | &$form | The form to render |
string | $title | The title of the label |
Références $document, $field, $form, $html, $js, $labelClass, $required, $title, $tooltip, FOFPlatform\getInstance(), et JS.
Renders a FOFForm for a Browse view and returns the corresponding HTML
FOFForm | &$form | The form to render |
FOFModel | $model | The model providing our data |
FOFInput | $input | The input object |
Références $attribs, $buttons, $class, $count, $field, $fields, $filter, $form, $html, $i, $input, $item, $itemid, $items, $label, $labelClass, $options, $uri, $view, JHtmlSidebar\addFilter(), elseif, FOFPlatform\getInstance(), FOFModel\getItemList(), FOFModel\getPagination(), FOFModel\getState(), FOFModel\getTable(), FOFInflector\pluralize(), JHtmlSidebar\render(), JHtmlSidebar\setAction(), et true.
Renders a FOFForm for an Edit view and returns the corresponding HTML
FOFForm | &$form | The form to render |
FOFModel | $model | The model providing our data |
FOFInput | $input | The input object |
Références $class, $form, $html, $input, $itemid, $key, $uri, $validate, FOFModel\getId(), FOFPlatform\getInstance(), et FOFModel\getTable().
|
protected |
|
protected |
Renders the submenu (link bar) in FOF's classic style, using a Bootstrapped tab bar.
string | $view | The active view name |
string | $task | The current task |
FOFInput | $input | The input object |
array | $config | Extra configuration variables for the toolbar |
Références $class, $config, $input, $item, $link, $toolbar, FOFToolbar\getAnInstance(), et FOFPlatform\getInstance().
|
protected |
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.
string | $view | The active view name |
string | $task | The current task |
FOFInput | $input | The input object |
array | $config | Extra configuration variables for the toolbar |
Références $config, $input, $toolbar, FOFToolbar\getAnInstance(), et FOFPlatform\getInstance().
|
protected |
do the rendering job for the linkbar
FOFToolbar | $toolbar | A toolbar object |
Références $item, $link, $toolbar, et JHtmlSidebar\addEntry().