API15

JHTML: Difference between revisions

From Joomla! Documentation

Eqdw (talk | contribs)
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JHTML}}
<nowiki>[</nowiki>[[Description:JHTML|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHTML|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JHTML}}
</span>
{{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 />