Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | title ($title, $icon='generic.png') |
static | spacer ($width='') |
static | divider () |
static | custom ($task='', $icon='', $iconOver='', $alt='', $listSelect=true, $formId=null) |
static | preview ($url='', $updateEditors=false, $icon='preview', $bodyHeight=null, $modalWidth=null) |
static | jooa11y ($url='', $updateEditors=false, $icon='icon-universal-access', $bodyHeight=null, $modalWidth=null) |
static | help ($ref, $com=false, $override=null, $component=null) |
static | inlinehelp (string $class="hide-aware-inline-help") |
static | back ($alt='JTOOLBAR_BACK', $href='javascript:history.back();') |
static | link ($url, $text, $name='link') |
static | media_manager ($directory='', $alt='JTOOLBAR_UPLOAD') |
static | makeDefault ($task='default', $alt='JTOOLBAR_DEFAULT') |
static | assign ($task='assign', $alt='JTOOLBAR_ASSIGN') |
static | addNew ($task='add', $alt='JTOOLBAR_NEW', $check=false) |
static | publish ($task='publish', $alt='JTOOLBAR_PUBLISH', $check=false) |
static | publishList ($task='publish', $alt='JTOOLBAR_PUBLISH') |
static | unpublish ($task='unpublish', $alt='JTOOLBAR_UNPUBLISH', $check=false) |
static | unpublishList ($task='unpublish', $alt='JTOOLBAR_UNPUBLISH') |
static | archiveList ($task='archive', $alt='JTOOLBAR_ARCHIVE') |
static | unarchiveList ($task='unarchive', $alt='JTOOLBAR_UNARCHIVE') |
static | editList ($task='edit', $alt='JTOOLBAR_EDIT') |
static | editHtml ($task='edit_source', $alt='JTOOLBAR_EDIT_HTML') |
static | editCss ($task='edit_css', $alt='JTOOLBAR_EDIT_CSS') |
static | deleteList ($msg='', $task='remove', $alt='JTOOLBAR_DELETE') |
static | trash ($task='remove', $alt='JTOOLBAR_TRASH', $check=true) |
static | apply ($task='apply', $alt='JTOOLBAR_APPLY') |
static | save ($task='save', $alt='JTOOLBAR_SAVE') |
static | save2new ($task='save2new', $alt='JTOOLBAR_SAVE_AND_NEW') |
static | save2copy ($task='save2copy', $alt='JTOOLBAR_SAVE_AS_COPY') |
static | checkin ($task='checkin', $alt='JTOOLBAR_CHECKIN', $check=true) |
static | cancel ($task='cancel', $alt='JTOOLBAR_CANCEL') |
static | preferences ($component, $height=550, $width=875, $alt='JTOOLBAR_OPTIONS', $path='') |
static | saveGroup ($buttons=array(), $class='btn-success') |
static | modal ($targetModalId, $icon, $alt, $class='btn-primary') |
Utility class for the button bar.
|
static |
Writes the common 'new' icon for the button bar.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
boolean | $check | True if required to check that a standard list item is checked. |
Références $alt, $check, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), et ListView\addToolbar().
|
static |
Writes a save button for a given option. Apply operation leads to a save action only (does not leave edit mode).
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a common 'archive' button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
|
static |
Writes a common 'assign' button for a record.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a cancel button that will go back to the previous page without doing any other operation.
string | $alt | Alternative text. |
string | $href | URL of the href attribute. |
Références $alt, $href, Toolbar\getInstance(), et Factory\getLanguage().
|
static |
Writes a cancel button and invokes a cancel operation (eg a checkin).
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par FormView\addToolbar(), et HtmlView\addToolbar().
|
static |
Writes a checkin button for a given option.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
boolean | $check | True if required to check that a standard list item is checked. |
Références $alt, $check, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
|
static |
Writes a custom option and task button for the button bar.
string | $task | The task to perform (picked up by the switch($task) blocks). |
string | $icon | The image to display. |
string | $iconOver |
Références $alt, $formId, $icon, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), et ListView\addToolbar().
|
static |
Writes a common 'delete' button for a list of records.
string | $msg | Postscript for the 'are you sure' message. |
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), et ListView\addToolbar().
|
static |
Writes a divider between menu buttons
Références Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), FormView\addToolbar(), et HtmlView\prepareToolbar().
|
static |
Writes a common 'edit' button for a template css.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a common 'edit' button for a template html.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a common 'edit' button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
Writes a help button for a given option (opens a popup window).
string | $ref | The name of the popup file (excluding the file extension for an xml file). |
bool | $com | Use the help file in the component directory. |
string | $override | Use this URL instead of any other |
string | $component | Name of component to get Help (null for current component) |
Références $component, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), FormView\addToolbar(), ListView\addToolbar(), HtmlView\display(), et HtmlView\prepareToolbar().
|
static |
Writes a help button for showing/hiding the inline help of a form
string | $class | The class used by the inline help items. |
Références $class, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a jooa11y accessibility checker button for a given option (opens a popup window).
string | $url | The url to open |
bool | $updateEditors | Unused |
string | $icon | The image to display. |
integer | $bodyHeight | The body height of the preview popup |
integer | $modalWidth | The modal width of the preview popup |
Références $bodyHeight, $icon, $modalWidth, $url, et Toolbar\getInstance().
|
static |
Creates a button to redirect to a link
string | $url | The link url |
string | $text | Button text |
string | $name | Name to be used as apart of the id |
Références $name, $text, $url, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a common 'default' button for a record.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a media_manager button.
string | $directory | The subdirectory to upload the media to. |
string | $alt | An override for the alt text. |
Références $alt, et Toolbar\getInstance().
|
static |
Displays a modal button
string | $targetModalId | ID of the target modal box |
string | $icon | Icon class to show on modal button |
string | $alt | Title for the modal button |
string | $class | The button class |
Références $alt, $class, $icon, $title, Text\_(), et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a configuration button and invokes a cancel operation (eg a checkin).
string | $component | The name of the component, eg, com_content. |
integer | $height | The height of the popup. [UNUSED] |
integer | $width | The width of the popup. [UNUSED] |
string | $alt | The name of the button. |
string | $path | An alternative path for the configuration xml relative to JPATH_SITE. |
Références $alt, $component, $path, $return, $uri, Uri\getInstance(), et Toolbar\getInstance().
Référencé par HtmlView\addToolbar(), ListView\addToolbar(), et HtmlView\prepareToolbar().
|
static |
Writes a preview button for a given option (opens a popup window).
string | $url | The name of the popup file (excluding the file extension) |
bool | $updateEditors | Unused |
string | $icon | The image to display. |
integer | $bodyHeight | The body height of the preview popup |
integer | $modalWidth | The modal width of the preview popup |
Références $bodyHeight, $icon, $modalWidth, $url, et Toolbar\getInstance().
Référencé par FormView\addToolbar().
|
static |
Writes a common 'publish' button.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
boolean | $check | True if required to check that a standard list item is checked. |
Références $alt, $check, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
|
static |
Writes a common 'publish' button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a save button for a given option. Save operation leads to a save and then close action.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
Référencé par HtmlView\addToolbar().
|
static |
Writes a save as copy button for a given option. Save as copy operation leads to a save after clearing the key, then returns user to edit mode with new key.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a save and create new button for a given option. Save and create operation leads to a save and then add action.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a save button for a given option, with an additional dropdown
array | $buttons | An array of buttons |
string | $class | The button class |
Références $button, $buttons, $options, Toolbar\getInstance(), et text.
Référencé par HtmlView\addToolbar(), et FormView\addToolbar().
|
static |
Writes a spacer cell.
string | $width | The width for the cell |
Références $width, et Toolbar\getInstance().
|
static |
Title cell. For the title and toolbar to be rendered correctly, this title function must be called before the starttable function and the toolbars icons this is due to the nature of how the css has been used to position the title in respect to the toolbar.
string | $title | The title. |
string | $icon | The space-separated names of the image. |
Références $app, $html, $icon, $layout, $title, Text\_(), Factory\getApplication(), et Factory\getDocument().
Référencé par HtmlView\addToolbar(), FormView\addToolbar(), ListView\addToolbar(), HtmlView\display(), et HtmlView\prepareToolbar().
|
static |
Writes a common 'trash' button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
bool | $check | True to allow lists. |
Références $alt, $check, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
|
static |
Writes an unarchive button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().
|
static |
Writes a common 'unpublish' button.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
boolean | $check | True if required to check that a standard list item is checked. |
Références $alt, $check, $task, et Toolbar\getInstance().
Référencé par ListView\addToolbar().
|
static |
Writes a common 'unpublish' button for a list of records.
string | $task | An override for the task. |
string | $alt | An override for the alt text. |
Références $alt, $task, et Toolbar\getInstance().