Actions

API17

Difference between revisions of "JHtml"

From Joomla! Documentation

(Layout updates)
m (See also: moving preparation)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JHtml==
 +
===Description===
 +
{{Description:JHtml}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JHtml|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtml|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JHtml}}
 
===Defined in===
 
libraries/joomla/html/html.php
 
* see source code in [[jplatform:html/html.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Html/11.1|Html]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JHtml::_/11.1|_]]
+
|public static
 +
|[[API17:JHtml:: | ]]
 
|Class loader method.  
 
|Class loader method.  
 
|-
 
|-
|[[JHtml::addIncludePath/11.1|addIncludePath]]
+
|public static
 +
|[[API17:JHtml::addIncludePath|addIncludePath]]
 
|Add a directory where  should search for helpers.  
 
|Add a directory where  should search for helpers.  
 
|-
 
|-
|[[JHtml::calendar/11.1|calendar]]
+
|public static
 +
|[[API17:JHtml::calendar|calendar]]
 
|Displays a calendar control field.  
 
|Displays a calendar control field.  
 
|-
 
|-
|[[JHtml::core/11.1|core]]
+
|public static
 +
|[[API17:JHtml::core|core]]
 
|
 
|
 
|-
 
|-
|[[JHtml::date/11.1|date]]
+
|public static
 +
|[[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.  
 
|-
 
|-
|[[JHtml::iframe/11.1|iframe]]
+
|public static
|Write a <iframe></iframe> element.  
+
|[[API17:JHtml::iframe|iframe]]
 +
|<nowiki>Write a <iframe></iframe> element.</nowiki>
 
|-
 
|-
|[[JHtml::image/11.1|image]]
+
|public static
 +
|[[API17:JHtml::image|image]]
 
|Write a.  
 
|Write a.  
 
|-
 
|-
|[[JHtml::isRegistered/11.1|isRegistered]]
+
|public static
 +
|[[API17:JHtml::isRegistered|isRegistered]]
 
|Test if the key is registered.  
 
|Test if the key is registered.  
 
|-
 
|-
|[[JHtml::link/11.1|link]]
+
|public static
 +
|[[API17:JHtml::link|link]]
 
|Write a  element.  
 
|Write a  element.  
 
|-
 
|-
|[[JHtml::register/11.1|register]]
+
|public static
 +
|[[API17:JHtml::register|register]]
 
|Registers a function to be called with a specific key.  
 
|Registers a function to be called with a specific key.  
 
|-
 
|-
|[[JHtml::script/11.1|script]]
+
|public static
|Write a <script></script> element.  
+
|[[API17:JHtml::script|script]]
 +
|Write a &lt;script>&lt;/script> element.
 
|-
 
|-
|[[JHtml::setFormatOptions/11.1|setFormatOptions]]
+
|public static
 +
|[[API17:JHtml::setFormatOptions|setFormatOptions]]
 
|Set format related options.  
 
|Set format related options.  
 
|-
 
|-
|[[JHtml::stylesheet/11.1|stylesheet]]
+
|public static
 +
|[[API17:JHtml::stylesheet|stylesheet]]
 
|Write a <link rel="stylesheet" style="text/css"> element.  
 
|Write a <link rel="stylesheet" style="text/css"> element.  
 
|-
 
|-
|[[JHtml::tooltip/11.1|tooltip]]
+
|public static
 +
|[[API17:JHtml::tooltip|tooltip]]
 
|Creates a tooltip with an image as button.  
 
|Creates a tooltip with an image as button.  
 
|-
 
|-
|[[JHtml::unregister/11.1|unregister]]
+
|public static
 +
|[[API17:JHtml::unregister|unregister]]
 
|Removes a key for a method from registry.  
 
|Removes a key for a method from registry.  
 
|-
 
|-
|[[JHtml::extract/11.1|extract]]
+
|protected static
 +
|[[API17:JHtml::extract|extract]]
 
|
 
|
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/html.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.html' );</source>
 
<source lang="php">jimport( 'joomla.html.html' );</source>
 
===See also===
 
===See also===
* JHtml source code in [[jplatform:html/html.php|BitBucket]]
+
* {{JVer|11.1}} '''JHtml source code''' on [[API17:Jplatform:html/html.php|BitBucket]]
* [[JHtml|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]]
 +
* [[API17:JHtml|Other versions of JHtml]]
 
{{SeeAlso:JHtml}}
 
{{SeeAlso:JHtml}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtml|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtml|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
<dpl>
+
 
noresultsheader=\n
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>
category=JHtml
+
category=CodeExample
+
category=ClassExample
+
include=*
+
format= ,,,
+
</dpl>
+
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtml]]</noinclude>
+

Latest revision as of 20:50, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JHtml

Description

Description:JHtml [Edit Descripton]

Methods

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

jimport( 'joomla.html.html' );

See also

  • Joomla 11.1 JHtml source code on BitBucket
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtml

SeeAlso:JHtml [Edit See Also]

User contributed notes

<CodeExamplesForm />