API15

Difference between revisions of "JHTMLImage"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JHTMLImage}} ===Defined in=== ...)
 
Line 18: Line 18:
 
|Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image
 
|Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.html.image' );</source>
 
<source lang="php">jimport( 'joomla.html.html.image' );</source>

Revision as of 12:36, 25 March 2010

The "API15" 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.

[Edit Descripton] Template:Description:JHTMLImage

Defined in[edit]

libraries/joomla/html/html/image.php

Methods[edit]

Method name Description
site Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image
administrator Checks to see if an image exists in the current templates image directory if it does it loads this image. Otherwise the default image is loaded. Also can be used in conjunction with the menulist param to create the chosen image load the default or use no image

Importing[edit]

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

[Edit See Also] Template:SeeAlso:JHTMLImage

Examples[edit]

<CodeExamplesForm />