JHTML: Difference between revisions
From Joomla! Documentation
m clean up |
|||
| Line 1: | Line 1: | ||
{{subst:Description:JHTML}} | |||
{{Description:JHTML}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 46: | Line 43: | ||
<source lang="php">jimport( 'joomla.html.html' );</source> | <source lang="php">jimport( 'joomla.html.html' );</source> | ||
{{subst:SeeAlso:JHTML}} | |||
{{SeeAlso:JHTML}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:21, 24 March 2017
{{subst:Description:JHTML}}
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' );
{{subst:SeeAlso:JHTML}}
Examples
<CodeExamplesForm />