API17

Difference between revisions of "JHtml"

From Joomla! Documentation

m (JoomlaWikiBot moved page JHtml/11.1 to API17:JHtml without leaving a redirect: Robot: Moved page)
m (fixing < in a script tag with <)
Line 14: Line 14:
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::_/11.1|_]]
+
|[[API17:JHtml:: | ]]
 
|Class loader method.  
 
|Class loader method.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::addIncludePath/11.1|addIncludePath]]
+
|[[API17:JHtml::addIncludePath|addIncludePath]]
 
|Add a directory where  should search for helpers.  
 
|Add a directory where  should search for helpers.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::calendar/11.1|calendar]]
+
|[[API17:JHtml::calendar|calendar]]
 
|Displays a calendar control field.  
 
|Displays a calendar control field.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::core/11.1|core]]
+
|[[API17:JHtml::core|core]]
 
|
 
|
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::date/11.1|date]]
+
|[[API17:JHtml::date|date]]
 
|Returns formated date according to a given format and time zone.  
 
|Returns formated date according to a given format and time zone.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::iframe/11.1|iframe]]
+
|[[API17:JHtml::iframe|iframe]]
|Write a <iframe></iframe> element.  
+
|<nowiki>Write a <iframe></iframe> element.</nowiki>
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::image/11.1|image]]
+
|[[API17:JHtml::image|image]]
 
|Write a.  
 
|Write a.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::isRegistered/11.1|isRegistered]]
+
|[[API17:JHtml::isRegistered|isRegistered]]
 
|Test if the key is registered.  
 
|Test if the key is registered.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::link/11.1|link]]
+
|[[API17:JHtml::link|link]]
 
|Write a  element.  
 
|Write a  element.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::register/11.1|register]]
+
|[[API17:JHtml::register|register]]
 
|Registers a function to be called with a specific key.  
 
|Registers a function to be called with a specific key.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::script/11.1|script]]
+
|[[API17:JHtml::script|script]]
|Write a <script></script> element.  
+
|Write a &lt;script>&lt;/script> element.
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::setFormatOptions/11.1|setFormatOptions]]
+
|[[API17:JHtml::setFormatOptions|setFormatOptions]]
 
|Set format related options.  
 
|Set format related options.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::stylesheet/11.1|stylesheet]]
+
|[[API17:JHtml::stylesheet|stylesheet]]
 
|Write a <link rel="stylesheet" style="text/css"> element.  
 
|Write a <link rel="stylesheet" style="text/css"> element.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::tooltip/11.1|tooltip]]
+
|[[API17:JHtml::tooltip|tooltip]]
 
|Creates a tooltip with an image as button.  
 
|Creates a tooltip with an image as button.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JHtml::unregister/11.1|unregister]]
+
|[[API17:JHtml::unregister|unregister]]
 
|Removes a key for a method from registry.  
 
|Removes a key for a method from registry.  
 
|-
 
|-
 
|protected static  
 
|protected static  
|[[JHtml::extract/11.1|extract]]
+
|[[API17:JHtml::extract|extract]]
 
|
 
|
 
|-
 
|-
Line 82: Line 82:
 
<source lang="php">jimport( 'joomla.html.html' );</source>
 
<source lang="php">jimport( 'joomla.html.html' );</source>
 
===See also===
 
===See also===
* {{JVer|11.1}} '''JHtml source code''' on [[jplatform:html/html.php|BitBucket]]
+
* {{JVer|11.1}} '''JHtml source code''' on [[API17:Jplatform:html/html.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Html|Html]]
* [[JHtml|Other versions of JHtml]]
+
* [[API17:JHtml|Other versions of JHtml]]
 
{{SeeAlso:JHtml}}
 
{{SeeAlso:JHtml}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 91: Line 91:
 
===User contributed notes===
 
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
<dpl>
+
 
noresultsheader=\n
+
<noinclude>[[Category:Platform 11.1]]</noinclude>
category=JHtml
 
category=CodeExample
 
category=ClassExample
 
include=*
 
namespace=CodeExample
 
format= ,,,
 
</dpl>
 
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JHtml]]</noinclude>
 

Revision as of 17:33, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtml[edit]

Description[edit]

Template:Description:JHtml [Edit Descripton]

Methods[edit]

Visibility Method name Description
public static Class loader method.
public static addIncludePath Add a directory where should search for helpers.
public static calendar Displays a calendar control field.
public static core
public static date Returns formated date according to a given format and time zone.
public static iframe Write a <iframe></iframe> element.
public static image Write a.
public static isRegistered Test if the key is registered.
public static link Write a element.
public static register Registers a function to be called with a specific key.
public static script Write a <script></script> element.
public static setFormatOptions Set format related options.
public static stylesheet Write a <link rel="stylesheet" style="text/css"> element.
public static tooltip Creates a tooltip with an image as button.
public static unregister Removes a key for a method from registry.
protected static extract
  • Defined in libraries/joomla/html/html.php

Importing[edit]

jimport( 'joomla.html.html' );

See also[edit]

Template:SeeAlso:JHtml [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />