Difference between revisions of "JHtml"
From Joomla! Documentation
m (JoomlaWikiBot moved page JHtml/11.1 to API17:JHtml without leaving a redirect: Robot: Moved page) |
m (fixing < in a script tag with <) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml:: | + | |[[API17:JHtml:: | ]] |
|Class loader method. | |Class loader method. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::addIncludePath | + | |[[API17:JHtml::addIncludePath|addIncludePath]] |
|Add a directory where should search for helpers. | |Add a directory where should search for helpers. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::calendar | + | |[[API17:JHtml::calendar|calendar]] |
|Displays a calendar control field. | |Displays a calendar control field. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::core | + | |[[API17:JHtml::core|core]] |
| | | | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::date | + | |[[API17:JHtml::date|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 | |public static | ||
− | |[[JHtml::iframe | + | |[[API17:JHtml::iframe|iframe]] |
− | |Write a <iframe></iframe> element. | + | |<nowiki>Write a <iframe></iframe> element.</nowiki> |
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::image | + | |[[API17:JHtml::image|image]] |
|Write a. | |Write a. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::isRegistered | + | |[[API17:JHtml::isRegistered|isRegistered]] |
|Test if the key is registered. | |Test if the key is registered. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::link | + | |[[API17:JHtml::link|link]] |
|Write a element. | |Write a element. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::register | + | |[[API17:JHtml::register|register]] |
|Registers a function to be called with a specific key. | |Registers a function to be called with a specific key. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::script | + | |[[API17:JHtml::script|script]] |
− | |Write a | + | |Write a <script></script> element. |
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::setFormatOptions | + | |[[API17:JHtml::setFormatOptions|setFormatOptions]] |
|Set format related options. | |Set format related options. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::stylesheet | + | |[[API17:JHtml::stylesheet|stylesheet]] |
|Write a <link rel="stylesheet" style="text/css"> element. | |Write a <link rel="stylesheet" style="text/css"> element. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::tooltip | + | |[[API17:JHtml::tooltip|tooltip]] |
|Creates a tooltip with an image as button. | |Creates a tooltip with an image as button. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JHtml::unregister | + | |[[API17:JHtml::unregister|unregister]] |
|Removes a key for a method from registry. | |Removes a key for a method from registry. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JHtml::extract | + | |[[API17:JHtml::extract|extract]] |
| | | | ||
|- | |- | ||
Line 82: | Line 82: | ||
<source lang="php">jimport( 'joomla.html.html' );</source> | <source lang="php">jimport( 'joomla.html.html' );</source> | ||
===See also=== | ===See also=== | ||
− | * {{JVer|11.1}} '''JHtml source code''' on [[ | + | * {{JVer|11.1}} '''JHtml source code''' on [[API17:Jplatform:html/html.php|BitBucket]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage Html | + | * {{JVer|11.1}} Subpackage [[Subpackage Html|Html]] |
− | * [[JHtml|Other versions of JHtml]] | + | * [[API17:JHtml|Other versions of JHtml]] |
{{SeeAlso:JHtml}} | {{SeeAlso:JHtml}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 91: | Line 91: | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
− | + | ||
− | + | <noinclude>[[Category:Platform 11.1]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <noinclude> |
Revision as of 17:33, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtml[edit]
Description[edit]
Template:Description:JHtml [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.html.html' );
See also[edit]
- JHtml source code on BitBucket
- Subpackage Html
- Other versions of JHtml
Template:SeeAlso:JHtml [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />