API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JHTML::_ | ( | $ | type | ) |
Class loader method
Additional arguments may be supplied and are passed to the sub-class. Additional include paths are also able to be specified for third-party use
string | The name of helper method to load, (prefix).(class).function prefix and class are optional and can be used to load custom html helpers. |
Références $file, $k, $parts, $path, $type, addIncludePath(), JPath::find(), jimport(), et JError::raiseWarning().
Référencé par ContentViewArticle::_buildEditLists(), ContentView::_displayArticleStats(), plgEditorXstandard::_displayButtons(), plgEditorNone::_displayButtons(), UserViewUser::_displayForm(), ContentViewArticle::_displayForm(), WeblinksViewWeblink::_displayForm(), ContentViewArticle::_getHeaderText(), ContentViewElement::_getLists(), MenusViewList::_getViewLists(), JPaneSliders::_loadBehavior(), JPaneTabs::_loadBehavior(), mosAdminMenus::Access(), JHTMLList::accesslevel(), mosCommonHTML::AccessProcessing(), mosToolBar::back(), BannersViewBanner::banner(), BannersViewBanner::banners(), JHTMLSelect::booleanlist(), calendar(), JHTMLList::category(), mosAdminMenus::Category(), mosCommonHTML::checkedOut(), mosCommonHTML::CheckedOutProcessing(), BannersViewClients::client(), BannersViewClients::clients(), mosAdminMenus::Component(), mosAdminMenus::ComponentCategory(), mosCommonHTML::ContentLegend(), copyCategorySelect(), categories_html::copyCategorySelect(), MenusViewList::copyForm(), ContentController::copyItem(), ContentView::copySection(), sections_html::copySectionSelect(), JHTMLIcon::create(), TemplatesHelper::createMenuList(), mosToolBar::custom(), JAdministrator::dispatch(), MenusViewMenus::display(), MenusViewList::display(), InstallerViewTemplates::display(), InstallerViewPlugins::display(), InstallerViewModules::display(), InstallerViewLanguages::display(), InstallerViewDefault::display(), ContentViewElement::display(), ConfigViewComponent::display(), WeblinksViewCategory::display(), WeblinksViewCategories::display(), UserViewReset::display(), UserViewRemind::display(), UserViewRegister::display(), SearchViewSearch::display(), PollViewPoll::display(), NewsfeedsViewCategory::display(), NewsfeedsViewCategories::display(), ContentViewSection::display(), ContentViewCategory::display(), ContentViewArchive::display(), ContactViewContact::display(), ContactViewCategory::display(), WeblinksViewWeblinks::display(), UsersViewUsers::display(), UsersViewUser::display(), PollViewPolls::display(), PluginsViewPlugins::display(), PluginsViewPlugin::display(), MediaViewMediaList::display(), MediaViewMedia::display(), MediaViewImagesList::display(), MediaViewImages::display(), ContentController::display(), BannerControllerBanner::display(), CacheView::displayCache(), mosToolBar::divider(), MenusViewItem::edit(), JHTMLIcon::edit(), BannerControllerBanner::edit(), sections_html::edit(), HTML_modules::edit(), categories_html::edit(), editCategory(), editConfig(), HTML_messages::editConfig(), editContact(), HTML_contact::editContact(), ContentController::editContent(), ContentView::editContent(), TemplatesView::editCSSSource(), MenusViewMenus::editForm(), editNewsFeed(), HTML_newsfeeds::editNewsFeed(), editSection(), TemplatesView::editTemplate(), TemplatesView::editTemplateSource(), JHTMLIcon::email(), mosHTML::emailCloaking(), JButtonPopup::fetchButton(), JElementUserGroup::fetchElement(), JElementTimezones::fetchElement(), JElementSQL::fetchElement(), JElementSection::fetchElement(), JElementRadio::fetchElement(), JElementPoll::fetchElement(), JElementNewsfeed::fetchElement(), JElementMenuItem::fetchElement(), JElementMenu::fetchElement(), JElementList::fetchElement(), JElementLanguages::fetchElement(), JElementHelpsites::fetchElement(), JElementFolderlist::fetchElement(), JElementFilelist::fetchElement(), JElementEditors::fetchElement(), JElementContact::fetchElement(), JElementCategory::fetchElement(), JElementCalendar::fetchElement(), JElementBannerclient::fetchElement(), JElementAuthor::fetchElement(), JElementArticle::fetchElement(), ContentHelper::filterCategory(), JHTMLList::genericordering(), JAuthorization::get_group_children_tree(), MediaModelManager::getFolderList(), InstallerModelPlugins::getGroups(), mosAdminMenus::GetImageFolders(), mosAdminMenus::GetImages(), ContentViewCategory::getItems(), MenusModelList::getItems(), JPagination::getLimitBox(), modStatsHelper::getList(), mosAdminMenus::GetSavedImages(), modSearchHelper::getSearchImage(), HTML_admin_misc::help(), mosHTML::idBox(), mosAdminMenus::ImageCheck(), mosAdminMenus::ImageCheckAdmin(), JHTMLList::images(), mosAdminMenus::Images(), JHTMLSelect::integerlist(), mosHTML::integerSelectList(), mosHTML::keepAlive(), JHTMLMenu::linkoptions(), mosCommonHTML::loadCalendar(), loadOverlib(), mosCommonHTML::loadOverlib(), mosHTML::makeOption(), mosToolBar::media_manager(), mosAdminMenus::MenuLinks(), mosAdminMenus::MenuSelect(), messageForm(), HTML_massmail::messageForm(), mosCurrentDate(), mosFormatDate(), mosGetOrderingList(), mosToolTip(), mosTreeRecurse(), moveCategorySelect(), categories_html::moveCategorySelect(), MenusViewList::moveForm(), ContentController::moveSection(), ContentView::moveSection(), newMessage(), HTML_messages::newMessage(), plgEditorXstandard::onDisplay(), plgButtonPagebreak::onDisplay(), plgButtonImage::onDisplay(), JHTMLMenu::ordering(), mosAdminMenus::Ordering(), MenusHelper::Parent(), JHTMLIcon::pdf(), plgContentVote(), plgEmailCloakString(), JHTMLList::positions(), mosAdminMenus::Positions(), mosToolBar::preview(), ContentView::previewContent(), TemplatesView::previewTemplate(), JHTMLIcon::print_popup(), JHTMLIcon::print_screen(), MenusHelper::Published(), mosAdminMenus::Published(), mosCommonHTML::PublishedProcessing(), CacheView::purgeSuccess(), mosHTML::radioList(), mosAdminMenus::ReadImages(), mosCommonHTML::saveorderButton(), script(), JHTMLList::section(), mosAdminMenus::Section(), mosHTML::selectList(), mosAdminMenus::SelectSection(), mosCommonHTML::selectState(), modBreadCrumbsHelper::setSeparator(), sections_html::show(), categories_html::show(), ContentView::showArchive(), showCategories(), ConfigApplicationView::showConfig(), ConfigControllerApplication::showConfig(), showContacts(), HTML_contact::showContacts(), ContentView::showContent(), HTML_trash::showDelete(), HTML_languages::showLanguages(), FrontpageView::showList(), HTML_trash::showListContent(), HTML_trash::showListMenu(), showMessages(), HTML_messages::showMessages(), showNewsFeeds(), HTML_newsfeeds::showNewsFeeds(), CacheView::showPurgeExecute(), HTML_trash::showRestore(), showSections(), TemplatesView::showTemplates(), JHTMLList::specificordering(), mosAdminMenus::SpecificOrdering(), HTML_admin_misc::system_info(), mosCommonHTML::tableOrdering(), MenusHelper::Target(), mosHTML::treeSelectList(), MenusViewItem::type(), JHTMLList::users(), mosAdminMenus::UserSelect(), HTML_modules::view(), ContentController::viewContent(), viewFrontPage(), HTML_messages::viewMessage(), TemplatesController::viewTemplates(), et mosHTML::yesnoRadioList().
JHTML::addIncludePath | ( | $ | path = '' | ) |
Add a directory where JHTML should search for helpers. You may either pass a string or an array of directories.
public
string | A path to search. |
Références $path, et JPath::clean().
Référencé par _(), ContentView::__construct(), mosCommonHTML::ContentLegend(), et plgSystemMTUpgrade::onAfterInitialise().
JHTML::calendar | ( | $ | value, |
$ | name, | ||
$ | id, | ||
$ | format = '%Y-%m-%d' , |
||
$ | attribs = null |
||
) |
Displays a calendar control field
string | The date value |
string | The name of the text field |
string | The id of the text field |
string | The date format |
array | Additional html attributes |
Références $document, $id, _(), JFactory::getDocument(), et JArrayHelper::toString().
JHTML::date | ( | $ | date, |
$ | format = null , |
||
$ | offset = NULL |
||
) |
Returns formated date according to current local and adds time offset
public
string | date in an US English date format |
string | format optional format for strftime |
Références $config, $date, JText::_(), JFactory::getConfig(), et JFactory::getDate().
JHTML::iframe | ( | $ | url, |
$ | name, | ||
$ | attribs = null , |
||
$ | noFrames = '' |
||
) |
Write a <iframe></iframe> element
public
string | The relative URL to use for the src attribute |
string | The target attribute to use |
array | An associative array of attributes to add |
string | The message to display if the iframe tag is not supported |
Références $name, et JArrayHelper::toString().
JHTML::image | ( | $ | url, |
$ | alt, | ||
$ | attribs = null |
||
) |
Write a </amg> element
public
string | The relative or absoluete URL to use for the src attribute |
string | The target attribute to use |
array | An associative array of attributes to add |
Références $url, JURI::root(), et JArrayHelper::toString().
JHTML::link | ( | $ | url, |
$ | text, | ||
$ | attribs = null |
||
) |
Write a element
public
string | The relative URL to use for the href attribute |
string | The target attribute to use |
array | An associative array of attributes to add |
Références $text, et JArrayHelper::toString().
JHTML::script | ( | $ | filename, |
$ | path = 'media/system/js/' , |
||
$ | mootools = true |
||
) |
Write a <script></script> element
public
string | The name of the script file * |
string | The relative or absolute path of the script file |
boolean | If true, the mootools library will be loaded |
Références $document, $path, _(), JFactory::getDocument(), et JURI::root().
Référencé par JHTMLBehavior::calendar(), JHTMLBehavior::caption(), JHTMLBehavior::combobox(), MediaViewMedia::display(), JHTMLBehavior::formvalidation(), JHTMLBehavior::modal(), JHTMLBehavior::mootools(), JHTMLBehavior::switcher(), JHTMLBehavior::tree(), et JHTMLBehavior::uploader().
JHTML::stylesheet | ( | $ | filename, |
$ | path = 'media/system/css/' , |
||
$ | attribs = array() |
||
) |
Write a <link rel="stylesheet" style="text/css"> element
public
string | The relative URL to use for the href attribute |
Références $document, $path, JFactory::getDocument(), et JURI::root().
Référencé par JHTMLBehavior::calendar(), MediaViewMedia::display(), JHTMLBehavior::modal(), et JHTMLBehavior::tree().
JHTML::tooltip | ( | $ | tooltip, |
$ | title = '' , |
||
$ | image = 'tooltip.png' , |
||
$ | text = '' , |
||
$ | href = '' , |
||
$ | link = 1 |
||
) |
Creates a tooltip with an image as button
public
string | $tooltip | The tip string |
string | $title | The title of the tooltip |
string | $image | The image for the tip, if no text is provided |
string | $text | The text for the tip |
string | $href | An URL that will be used to create the link |
boolean | depreciated |
Références $image, $text, $title, JRoute::_(), JText::_(), et JURI::root().
Référencé par mosWarning().