JHTML: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JHTML}}
===Defined in===
libraries... |
No edit summary |
||
| Line 11: | Line 11: | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |||
|[[API15:JHTML/_|_]] | |||
|Class loader method | |||
|- | |- | ||
|[[API15:JHTML/link|link]] | |[[API15:JHTML/link|link]] | ||
| Line 39: | Line 42: | ||
|Add a directory where JHTML should search for helpers. You may either pass a string or an array of directories. | |Add a directory where JHTML should search for helpers. You may either pass a string or an array of directories. | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.html' );</source> | <source lang="php">jimport( 'joomla.html.html' );</source> | ||
Revision as of 17:34, 25 March 2010
[Edit Descripton] Template:Description:JHTML
Defined in
libraries/joomla/html/html.php
Methods
| Method name | Description |
|---|---|
| _ | Class loader method |
| link | Write a element |
| image | Write a </amg> 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' );
[Edit See Also] Template:SeeAlso:JHTML
Examples
<CodeExamplesForm />