JHTML: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/html/html.php | libraries/joomla/html/html.php | ||
| Line 44: | Line 42: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHTML | category=JHTML | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 00:38, 25 March 2017
Defined in
libraries/joomla/html/html.php
Methods
| Method name | Description |
|---|---|
| _ | Class loader method |
| link | Write a element |
| image | Write a </img> element |
| iframe | Write a <iframe></iframe> element |
| script | Write a <script></script> element |
| stylesheet | Write a <link rel="stylesheet" style="text/css"> element |
| date | Returns formated date according to current local and adds time offset |
| tooltip | Creates a tooltip with an image as button |
| calendar | Displays a calendar control field |
| addIncludePath | Add a directory where JHTML should search for helpers. You may either pass a string or an array of directories. |
Importing
jimport( 'joomla.html.html' );
Examples
Code Examples