API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JToolBarHelper::addNew | ( | $ | task = 'add' , |
$ | alt = 'New' |
||
) |
Writes the common 'new' icon for the button bar
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par MENU_Default::MENU_Default().
JToolBarHelper::addNewX | ( | $ | task = 'add' , |
$ | alt = 'New' |
||
) |
Writes the common 'new' icon for the button bar. Extended version of addNew() calling hideMainMenu() before submitbutton().
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_messages::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), MenusViewMenus::display(), MenusViewList::display(), BannersViewBanner::setBannersToolbar(), et BannersViewClients::setClientsToolbar().
JToolBarHelper::apply | ( | $ | task = 'apply' , |
$ | alt = 'Apply' |
||
) |
Writes a save button for a given option Apply operation leads to a save action only (does not leave edit mode)
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_config::_DEFAULT(), TOOLBAR_templates::_EDIT(), TOOLBAR_sections::_EDIT(), TOOLBAR_newsfeeds::_EDIT(), TOOLBAR_modules::_EDIT(), TOOLBAR_content::_EDIT(), TOOLBAR_contact::_EDIT(), TOOLBAR_categories::_EDIT(), TOOLBAR_templates::_EDIT_CSS(), TOOLBAR_templates::_EDIT_SOURCE(), MenusViewItem::edit(), BannersViewBanner::setBannerToolbar(), et BannersViewClients::setClientToolbar().
JToolBarHelper::archiveList | ( | $ | task = 'archive' , |
$ | alt = 'Archive' |
||
) |
Writes a common 'archive' button for a list of records
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_content::_DEFAULT(), et viewFrontPage().
JToolBarHelper::assign | ( | $ | task = 'assign' , |
$ | alt = 'Assign' |
||
) |
Writes a common 'assign' button for a record
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::back | ( | $ | alt = 'Back' , |
$ | href = 'javascript:history.back();' |
||
) |
Writes a cancel button that will go back to the previous page without doing any other operation
Références $bar, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_VIEW().
JToolBarHelper::cancel | ( | $ | task = 'cancel' , |
$ | alt = 'Cancel' |
||
) |
Writes a cancel button and invokes a cancel operation (eg a checkin)
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_CHOOSE_CSS(), TOOLBAR_messages::_CONFIG(), TOOLBAR_sections::_COPY(), TOOLBAR_content::_COPY(), TOOLBAR_categories::_COPY(), TOOLBAR_massmail::_DEFAULT(), TOOLBAR_config::_DEFAULT(), TOOLBAR_Trash::_DELETE(), TOOLBAR_templates::_EDIT(), TOOLBAR_sections::_EDIT(), TOOLBAR_newsfeeds::_EDIT(), TOOLBAR_modules::_EDIT(), TOOLBAR_messages::_EDIT(), TOOLBAR_content::_EDIT(), TOOLBAR_contact::_EDIT(), TOOLBAR_categories::_EDIT(), TOOLBAR_templates::_EDIT_CSS(), TOOLBAR_templates::_EDIT_SOURCE(), TOOLBAR_content::_MOVE(), TOOLBAR_categories::_MOVE(), TOOLBAR_modules::_NEW(), TOOLBAR_Trash::_RESTORE(), TOOLBAR_messages::_VIEW(), MenusViewMenus::copyForm(), MenusViewList::copyForm(), MenusViewMenus::deleteForm(), MenusViewItem::edit(), MenusViewMenus::editForm(), MenusViewList::moveForm(), BannersViewBanner::setBannerToolbar(), BannersViewClients::setClientToolbar(), et MenusViewItem::type().
JToolBarHelper::custom | ( | $ | task = '' , |
$ | icon = '' , |
||
$ | iconOver = '' , |
||
$ | alt = '' , |
||
$ | listSelect = true , |
||
$ | x = false |
||
) |
Writes a custom option and task button for the button bar
string | The task to perform (picked up by the switch($task) blocks |
string | The image to display |
string | The image to display when moused over |
string | The alt text for the icon image |
boolean | True if required to check that a standard list item is checked |
boolean | True if required to include callinh hideMainMenu() |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_CHOOSE_CSS(), TOOLBAR_content::_COPY(), TOOLBAR_Trash::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_messages::_DEFAULT(), TOOLBAR_massmail::_DEFAULT(), TOOLBAR_cache::_DEFAULT(), TOOLBAR_templates::_EDIT(), TOOLBAR_content::_MOVE(), TOOLBAR_cache::_PURGEADMIN(), MenusViewMenus::copyForm(), MenusViewList::copyForm(), MenusViewMenus::deleteForm(), SearchViewSearch::display(), MenusViewMenus::editForm(), MenusViewList::moveForm(), et viewFrontPage().
JToolBarHelper::customX | ( | $ | task = '' , |
$ | icon = '' , |
||
$ | iconOver = '' , |
||
$ | alt = '' , |
||
$ | listSelect = true |
||
) |
Writes a custom option and task button for the button bar. Extended version of custom() calling hideMainMenu() before submitbutton().
string | The task to perform (picked up by the switch($task) blocks |
string | The image to display |
string | The image to display when moused over |
string | The alt text for the icon image |
boolean | True if required to check that a standard list item is checked |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_sections::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), TOOLBAR_modules::_NEW(), TOOLBAR_messages::_VIEW(), MenusViewMenus::display(), MenusViewList::display(), et BannersViewBanner::setBannersToolbar().
JToolBarHelper::deleteList | ( | $ | msg = '' , |
$ | task = 'remove' , |
||
$ | alt = 'Delete' |
||
) |
Writes a common 'delete' button for a list of records
string | Postscript for the 'are you sure' message |
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_messages::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), TOOLBAR_messages::_VIEW(), InstallerViewTemplates::display(), InstallerViewPlugins::display(), InstallerViewModules::display(), InstallerViewLanguages::display(), InstallerViewComponents::display(), MENU_Default::MENU_Default(), BannersViewBanner::setBannersToolbar(), et BannersViewClients::setClientsToolbar().
JToolBarHelper::deleteListX | ( | $ | msg = '' , |
$ | task = 'remove' , |
||
$ | alt = 'Delete' |
||
) |
Writes a common 'delete' button for a list of records. Extended version of deleteList() calling hideMainMenu() before submitbutton().
string | Postscript for the 'are you sure' message |
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::divider | ( | ) |
Write a divider between menu buttons
Références $bar, et JToolBar::getInstance().
JToolBarHelper::editCss | ( | $ | task = 'edit_css' , |
$ | alt = 'Edit CSS' |
||
) |
Writes a common 'edit' button for a template css
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::editCssX | ( | $ | task = 'edit_css' , |
$ | alt = 'Edit CSS' |
||
) |
Writes a common 'edit' button for a template css. Extended version of editCss() calling hideMainMenu() before submitbutton().
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::editHtml | ( | $ | task = 'edit_source' , |
$ | alt = 'Edit HTML' |
||
) |
Writes a common 'edit' button for a template html
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::editHtmlX | ( | $ | task = 'edit_source' , |
$ | alt = 'Edit HTML' |
||
) |
Writes a common 'edit' button for a template html. Extended version of editHtml() calling hideMainMenu() before submitbutton().
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::editList | ( | $ | task = 'edit' , |
$ | alt = 'Edit' |
||
) |
Writes a common 'edit' button for a list of records
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par MENU_Default::MENU_Default().
JToolBarHelper::editListX | ( | $ | task = 'edit' , |
$ | alt = 'Edit' |
||
) |
Writes a common 'edit' button for a list of records. Extended version of editList() calling hideMainMenu() before submitbutton().
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_DEFAULT(), TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), MenusViewMenus::display(), MenusViewList::display(), BannersViewBanner::setBannersToolbar(), et BannersViewClients::setClientsToolbar().
JToolBarHelper::help | ( | $ | ref, |
$ | com = false |
||
) |
Writes a preview button for a given option (opens a popup window)
string | The name of the popup file (excluding the file extension for an xml file) |
boolean | Use the help file in the component directory |
Références $bar, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_CHOOSE_CSS(), TOOLBAR_messages::_CONFIG(), TOOLBAR_admin::_CPANEL(), TOOLBAR_Trash::_DEFAULT(), TOOLBAR_templates::_DEFAULT(), TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_messages::_DEFAULT(), TOOLBAR_massmail::_DEFAULT(), TOOLBAR_languages::_DEFAULT(), TOOLBAR_cpanel::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_config::_DEFAULT(), TOOLBAR_checkin::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), TOOLBAR_cache::_DEFAULT(), TOOLBAR_templates::_EDIT(), TOOLBAR_sections::_EDIT(), TOOLBAR_newsfeeds::_EDIT(), TOOLBAR_modules::_EDIT(), TOOLBAR_messages::_EDIT(), TOOLBAR_content::_EDIT(), TOOLBAR_contact::_EDIT(), TOOLBAR_categories::_EDIT(), TOOLBAR_templates::_EDIT_CSS(), TOOLBAR_templates::_EDIT_SOURCE(), TOOLBAR_modules::_NEW(), TOOLBAR_cache::_PURGEADMIN(), MediaViewMedia::_setToolBar(), TOOLBAR_admin::_SYSINFO(), TOOLBAR_messages::_VIEW(), MenusViewMenus::copyForm(), MenusViewList::copyForm(), MenusViewMenus::deleteForm(), SearchViewSearch::display(), MenusViewMenus::display(), MenusViewList::display(), InstallerViewTemplates::display(), InstallerViewPlugins::display(), InstallerViewModules::display(), InstallerViewLanguages::display(), InstallerViewInstall::display(), InstallerViewComponents::display(), MenusViewItem::edit(), MenusViewMenus::editForm(), MenusViewList::moveForm(), BannersViewBanner::setBannersToolbar(), BannersViewBanner::setBannerToolbar(), BannersViewClients::setClientsToolbar(), BannersViewClients::setClientToolbar(), MenusViewItem::type(), et viewFrontPage().
JToolBarHelper::makeDefault | ( | $ | task = 'default' , |
$ | alt = 'Default' |
||
) |
Writes a common 'default' button for a record
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_templates::_DEFAULT(), TOOLBAR_languages::_DEFAULT(), et MenusViewList::display().
JToolBarHelper::media_manager | ( | $ | folder = '' , |
$ | alt = 'Upload' |
||
) |
Writes a media_manager button
string | The sub-drectory to upload the media to |
Références $bar, et JToolBar::getInstance().
JToolBarHelper::preferences | ( | $ | component, |
$ | height = '150' , |
||
$ | width = '570' , |
||
$ | alt = 'Preferences' , |
||
$ | path = '' |
||
) |
Writes a configuration button and invokes a cancel operation (eg a checkin)
string | The name of the component, eg, com_content |
int | The height of the popup |
int | The width of the popup |
string | The name of the button |
string | An alternative path for the configuation xml relative to JPATH_SITE |
Références $bar, $height, $path, $user, $width, JToolBar::getInstance(), et JFactory::getUser().
Référencé par TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_massmail::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), SearchViewSearch::display(), et BannersViewBanner::setBannersToolbar().
JToolBarHelper::preview | ( | $ | url = '' , |
$ | updateEditors = false |
||
) |
Writes a preview button for a given option (opens a popup window)
string | The name of the popup file (excluding the file extension) |
Références $bar, et JToolBar::getInstance().
Référencé par TOOLBAR_content::_EDIT().
JToolBarHelper::publish | ( | $ | task = 'publish' , |
$ | alt = 'Publish' |
||
) |
Writes a common 'publish' button
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::publishList | ( | $ | task = 'publish' , |
$ | alt = 'Publish' |
||
) |
Writes a common 'publish' button for a list of records
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), MenusViewList::display(), MENU_Default::MENU_Default(), BannersViewBanner::setBannersToolbar(), et viewFrontPage().
JToolBarHelper::save | ( | $ | task = 'save' , |
$ | alt = 'Save' |
||
) |
Writes a save button for a given option Save operation leads to a save and then close action
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_messages::_CONFIG(), TOOLBAR_sections::_COPY(), TOOLBAR_categories::_COPY(), TOOLBAR_config::_DEFAULT(), TOOLBAR_templates::_EDIT(), TOOLBAR_sections::_EDIT(), TOOLBAR_newsfeeds::_EDIT(), TOOLBAR_modules::_EDIT(), TOOLBAR_messages::_EDIT(), TOOLBAR_content::_EDIT(), TOOLBAR_contact::_EDIT(), TOOLBAR_categories::_EDIT(), TOOLBAR_templates::_EDIT_CSS(), TOOLBAR_templates::_EDIT_SOURCE(), TOOLBAR_categories::_MOVE(), MenusViewItem::edit(), BannersViewBanner::setBannerToolbar(), et BannersViewClients::setClientToolbar().
JToolBarHelper::spacer | ( | $ | width = '' | ) |
Writes a spacer cell
string | The width for the cell |
Références $bar, $width, et JToolBar::getInstance().
Référencé par MENU_Default::MENU_Default().
JToolBarHelper::title | ( | $ | title, |
$ | icon = 'generic.png' |
||
) |
Title cell For the title and toolbar to be rendered correctly, this title fucntion 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 postion the title in respect to the toolbar
string | The title |
string | The name of the image |
Références $mainframe.
Référencé par TOOLBAR_templates::_CHOOSE_CSS(), TOOLBAR_messages::_CONFIG(), TOOLBAR_sections::_COPY(), TOOLBAR_content::_COPY(), TOOLBAR_categories::_COPY(), TOOLBAR_admin::_CPANEL(), TOOLBAR_Trash::_DEFAULT(), TOOLBAR_templates::_DEFAULT(), TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_messages::_DEFAULT(), TOOLBAR_massmail::_DEFAULT(), TOOLBAR_languages::_DEFAULT(), TOOLBAR_cpanel::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_config::_DEFAULT(), TOOLBAR_checkin::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), TOOLBAR_cache::_DEFAULT(), TOOLBAR_Trash::_DELETE(), TOOLBAR_templates::_EDIT(), TOOLBAR_sections::_EDIT(), TOOLBAR_newsfeeds::_EDIT(), TOOLBAR_modules::_EDIT(), TOOLBAR_messages::_EDIT(), TOOLBAR_content::_EDIT(), TOOLBAR_contact::_EDIT(), TOOLBAR_categories::_EDIT(), TOOLBAR_templates::_EDIT_CSS(), TOOLBAR_templates::_EDIT_SOURCE(), TOOLBAR_admin::_HELP(), TOOLBAR_content::_MOVE(), TOOLBAR_categories::_MOVE(), TOOLBAR_modules::_NEW(), TOOLBAR_admin::_PREVIEW(), TOOLBAR_cache::_PURGEADMIN(), TOOLBAR_Trash::_RESTORE(), MediaViewMedia::_setToolBar(), TOOLBAR_admin::_SYSINFO(), TOOLBAR_templates::_VIEW(), TOOLBAR_messages::_VIEW(), MenusViewMenus::copyForm(), MenusViewList::copyForm(), MenusViewMenus::deleteForm(), SearchViewSearch::display(), MenusViewMenus::display(), MenusViewList::display(), InstallerViewDefault::display(), MenusViewItem::edit(), MenusViewMenus::editForm(), MenusViewList::moveForm(), BannersViewBanner::setBannersToolbar(), BannersViewBanner::setBannerToolbar(), BannersViewClients::setClientsToolbar(), BannersViewClients::setClientToolbar(), MenusViewItem::type(), et viewFrontPage().
JToolBarHelper::trash | ( | $ | task = 'remove' , |
$ | alt = 'Trash' , |
||
$ | check = true |
||
) |
Write a trash button that will move items to Trash Manager
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_content::_DEFAULT(), et MenusViewList::display().
JToolBarHelper::unarchiveList | ( | $ | task = 'unarchive' , |
$ | alt = 'Unarchive' |
||
) |
Writes an unarchive button for a list of records
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_content::_DEFAULT().
JToolBarHelper::unpublish | ( | $ | task = 'unpublish' , |
$ | alt = 'Unpublish' |
||
) |
Writes a common 'unpublish' button
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
JToolBarHelper::unpublishList | ( | $ | task = 'unpublish' , |
$ | alt = 'Unpublish' |
||
) |
Writes a common 'unpublish' button for a list of records
string | An override for the task |
string | An override for the alt text |
Références $bar, $task, et JToolBar::getInstance().
Référencé par TOOLBAR_sections::_DEFAULT(), TOOLBAR_newsfeeds::_DEFAULT(), TOOLBAR_modules::_DEFAULT(), TOOLBAR_content::_DEFAULT(), TOOLBAR_contact::_DEFAULT(), TOOLBAR_categories::_DEFAULT(), MenusViewList::display(), MENU_Default::MENU_Default(), BannersViewBanner::setBannersToolbar(), et viewFrontPage().