API15:JHTML
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JHTML}}
===Defined in===
libraries...) |
(→Methods) |
||
| (One intermediate revision by one user not shown) | |||
| Line 11: | Line 11: | ||
!Method name | !Method name | ||
!Description | !Description | ||
| + | |- | ||
| + | |[[API15:JHTML/_|_]] | ||
| + | |Class loader method | ||
|- | |- | ||
|[[API15:JHTML/link|link]] | |[[API15:JHTML/link|link]] | ||
| Line 16: | Line 19: | ||
|- | |- | ||
|[[API15:JHTML/image|image]] | |[[API15:JHTML/image|image]] | ||
| − | |Write a </ | + | |Write a </img> element |
|- | |- | ||
|[[API15:JHTML/iframe|iframe]] | |[[API15:JHTML/iframe|iframe]] | ||
| 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> | ||
Latest revision as of 15:26, 5 October 2010
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JHTML
Contents |
[edit] Defined in
libraries/joomla/html/html.php
[edit] 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. |
[edit] Importing
jimport( 'joomla.html.html' );
[edit] Examples
<CodeExamplesForm />
