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 statiques | |
static | title ($title, $icon='generic.png') |
static | spacer ($width='') |
static | divider () |
static | custom ($task='', $icon='', $iconOver='', $alt='', $listSelect=true) |
static | preview ($url='', $updateEditors=false) |
static | help ($ref, $com=false, $override=null, $component=null) |
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 | versions ($typeAlias, $itemId, $height=800, $width=500, $alt='JTOOLBAR_VERSIONS') |
static | modal ($targetModalId, $icon, $alt) |
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().
|
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().
|
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().
|
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, et Toolbar\getInstance().
|
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().
|
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().
|
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 | The image to display when moused over. |
string | $alt | The alt text for the icon image. |
bool | $listSelect | True if required to check that a standard list item is checked. |
Références $alt, $icon, $task, et Toolbar\getInstance().
|
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().
|
static |
|
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().
Writes a preview 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().
|
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().
|
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().
|
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 |
Références $alt, $icon, $title, Text\_(), et Toolbar\getInstance().
|
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 configuation xml relative to JPATH_SITE. |
Références $alt, $component, $path, $return, $uri, Uri\getInstance(), et Toolbar\getInstance().
|
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 |
Références $url, et Toolbar\getInstance().
|
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().
|
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().
|
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 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().
|
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().
|
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().
|
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().
|
static |
Writes a version history
string | $typeAlias | The component and type, for example 'com_content.article' |
integer | $itemId | The id of the item, for example the article id. |
integer | $height | The height of the popup. |
integer | $width | The width of the popup. |
string | $alt | The name of the button. |
Références $alt, $height, $itemId, $lang, $layout, $options, $width, Text\_(), Toolbar\getInstance(), Table\getInstance(), Factory\getLanguage(), et JPATH_ADMINISTRATOR.