JHTML

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(New page: '''JHTML''' Utility class for all HTML drawing classes in the Joomla Framework. ===Defined in=== /libraries/joomla/html/html.php ===Methods=== {| class="wikitable" |- !Method name !Descr...)
 
(Bulk upload by Doxiki2)
 
Line 1: Line 1:
'''JHTML''' Utility class for all HTML drawing classes in the Joomla Framework.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
===Defined in===
+
<noinclude>[[Category:Framework]][[Category:JHTML]]</noinclude>
/libraries/joomla/html/html.php
+
 
+
===Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|-
+
|[[JHTML/addIncludePath|addIncludePath]]
+
|Add a directory where [[JHTML]] should search for helpers. You may either pass a string or an array of directories.
+
|-
+
|[[JHTML/calendar|calendar]]
+
|Displays a calendar control field
+
|-
+
|[[JHTML/date|date]]
+
|Returns formatted date according to current local and adds time offset
+
|-
+
|[[JHTML/iframe|iframe]]
+
|Write a <iframe></iframe> element
+
|-
+
|[[JHTML/image|image]]
+
|Write a <img></img> element
+
|-
+
|[[JHTML/link|link]]
+
|Write a <a></a> element
+
|-
+
|[[JHTML/script|script]]
+
|Write a <script></script> element
+
|-
+
|[[JHTML/stylesheet|stylesheet]]
+
|Write a <link rel="stylesheet" style="text/css" /> element
+
|-
+
|[[JHTML/tooltip|tooltip]]
+
|Creates a tooltip with an image as button
+
|-
+
|[[JHTML/_|_]]
+
|Class loader method
+
|}
+
 
+
===Importing===
+
This class is always available and does not need to be imported into your code.
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/HTML/JHTML.html JHTML on api.joomla.org]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JHTML]]</noinclude>
+

Latest revision as of 16:28, 17 April 2011

This class is available in the following Joomla versions:-

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox