Actions

API17

Difference between revisions of "JHtmlImage"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JHtmlImage==
 +
===Description===
 +
{{Description:JHtmlImage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JHtmlImage|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlImage|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JHtmlImage}}
 
===Defined in===
 
libraries/joomla/html/html/image.php
 
* see source code in [[jplatform:html/html/image.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
 
|-
 
|-
 +
|public static
 
|[[JHtmlImage::administrator/11.1|administrator]]
 
|[[JHtmlImage::administrator/11.1|administrator]]
 
|Checks to see if an image exists in the current templates image directory if it does it loads this image.  
 
|Checks to see if an image exists in the current templates image directory if it does it loads this image.  
 
|-
 
|-
 +
|public static
 
|[[JHtmlImage::site/11.1|site]]
 
|[[JHtmlImage::site/11.1|site]]
 
|Checks to see if an image exists in the current templates image directory.  
 
|Checks to see if an image exists in the current templates image directory.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/html/image.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.html.image' );</source>
 
<source lang="php">jimport( 'joomla.html.html.image' );</source>
 
===See also===
 
===See also===
* JHtmlImage source code in [[jplatform:html/html/image.php|BitBucket]]
+
* {{JVer|11.1}} '''JHtmlImage source code''' on [[jplatform:html/html/image.php|BitBucket]]
* [[JHtmlImage|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]]
 +
* [[JHtmlImage|Other versions of JHtmlImage]]
 
{{SeeAlso:JHtmlImage}}
 
{{SeeAlso:JHtmlImage}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlImage|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlImage|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 41: Line 41:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlImage]]</noinclude>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlImage]]</noinclude>

Revision as of 17:04, 27 April 2011

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 JHtmlImage

Description

Description:JHtmlImage [Edit Descripton]

Methods

Visibility Method name Description
public static administrator Checks to see if an image exists in the current templates image directory if it does it loads this image.
public static site Checks to see if an image exists in the current templates image directory.
  • Defined in libraries/joomla/html/html/image.php

Importing

jimport( 'joomla.html.html.image' );

See also

SeeAlso:JHtmlImage [Edit See Also]

User contributed notes

<CodeExamplesForm />