Difference between revisions of "JHtmlImage"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
(2 intermediate revisions by one other user not shown) | |||
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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===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|Other versions of | + | * {{JVer|11.1}} '''JHtmlImage source code''' on [[jplatform:html/html/image.php|BitBucket]] |
+ | * {{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> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 39: | 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 JClasses]][[Category:Platform 11.1]][[Category:JHtmlImage]]</noinclude> |
Revision as of 13:51, 29 August 2012
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.
JHtmlImage[edit]
Description[edit]
Template:Description:JHtmlImage [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.html.html.image' );
See also[edit]
- JHtmlImage source code on BitBucket
- Subpackage Html
- Other versions of JHtmlImage
Template:SeeAlso:JHtmlImage [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />