API17:JHtml
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JHtml== | ||
| + | ===Description=== | ||
| + | {{Description:JHtml}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JHtml|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtml|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::_/11.1|_]] | |[[JHtml::_/11.1|_]] | ||
|Class loader method. | |Class loader method. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::addIncludePath/11.1|addIncludePath]] | |[[JHtml::addIncludePath/11.1|addIncludePath]] | ||
|Add a directory where should search for helpers. | |Add a directory where should search for helpers. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::calendar/11.1|calendar]] | |[[JHtml::calendar/11.1|calendar]] | ||
|Displays a calendar control field. | |Displays a calendar control field. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::core/11.1|core]] | |[[JHtml::core/11.1|core]] | ||
| | | | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::date/11.1|date]] | |[[JHtml::date/11.1|date]] | ||
|Returns formated date according to a given format and time zone. | |Returns formated date according to a given format and time zone. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::iframe/11.1|iframe]] | |[[JHtml::iframe/11.1|iframe]] | ||
|Write a <iframe></iframe> element. | |Write a <iframe></iframe> element. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::image/11.1|image]] | |[[JHtml::image/11.1|image]] | ||
|Write a. | |Write a. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::isRegistered/11.1|isRegistered]] | |[[JHtml::isRegistered/11.1|isRegistered]] | ||
|Test if the key is registered. | |Test if the key is registered. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::link/11.1|link]] | |[[JHtml::link/11.1|link]] | ||
|Write a element. | |Write a element. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::register/11.1|register]] | |[[JHtml::register/11.1|register]] | ||
|Registers a function to be called with a specific key. | |Registers a function to be called with a specific key. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::script/11.1|script]] | |[[JHtml::script/11.1|script]] | ||
|Write a <script></script> element. | |Write a <script></script> element. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::setFormatOptions/11.1|setFormatOptions]] | |[[JHtml::setFormatOptions/11.1|setFormatOptions]] | ||
|Set format related options. | |Set format related options. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::stylesheet/11.1|stylesheet]] | |[[JHtml::stylesheet/11.1|stylesheet]] | ||
|Write a <link rel="stylesheet" style="text/css"> element. | |Write a <link rel="stylesheet" style="text/css"> element. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::tooltip/11.1|tooltip]] | |[[JHtml::tooltip/11.1|tooltip]] | ||
|Creates a tooltip with an image as button. | |Creates a tooltip with an image as button. | ||
|- | |- | ||
| + | |public static | ||
|[[JHtml::unregister/11.1|unregister]] | |[[JHtml::unregister/11.1|unregister]] | ||
|Removes a key for a method from registry. | |Removes a key for a method from registry. | ||
|- | |- | ||
| + | |protected static | ||
|[[JHtml::extract/11.1|extract]] | |[[JHtml::extract/11.1|extract]] | ||
| | | | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/html/html.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html' );</source> | <source lang="php">jimport( 'joomla.html.html' );</source> | ||
===See also=== | ===See also=== | ||
| − | * [[JHtml|Other versions of | + | * {{JVer|11.1}} '''JHtml source code''' on [[jplatform:html/html.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]] | ||
| + | * [[JHtml|Other versions of JHtml]] | ||
{{SeeAlso:JHtml}} | {{SeeAlso:JHtml}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtml|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtml|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 81: | Line 97: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtml]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JHtml]]</noinclude> |
Revision as of 13:50, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtml
Description
Description:JHtml [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | _ | Class loader method. |
| public static | addIncludePath | Add a directory where should search for helpers. |
| public static | calendar | Displays a calendar control field. |
| public static | core | |
| public static | date | Returns formated date according to a given format and time zone. |
| public static | iframe | Write a <iframe></iframe> element. |
| public static | image | Write a. |
| public static | isRegistered | Test if the key is registered. |
| public static | link | Write a element. |
| public static | register | Registers a function to be called with a specific key. |
| public static | script | Write a <script></script> element. |
| public static | setFormatOptions | Set format related options. |
| public static | stylesheet | Write a <link rel="stylesheet" style="text/css"> element. |
| public static | tooltip | Creates a tooltip with an image as button. |
| public static | unregister | Removes a key for a method from registry. |
| protected static | extract |
- Defined in libraries/joomla/html/html.php
Importing
jimport( 'joomla.html.html' );
See also
-
JHtml source code on BitBucket
-
Subpackage Html
- Other versions of JHtml
User contributed notes
<CodeExamplesForm />
