Difference between revisions of "JHtmlImage::site"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlImage::site|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlImage::site|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function site ( |
+ | $file | ||
+ | $folder= '/images/system/' | ||
+ | $altFile=null | ||
+ | $altFolder= '/images/system/' | ||
+ | $alt=null | ||
+ | $attribs=null | ||
+ | $asTag=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 55: | Line 62: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 37 of libraries/joomla/html/html/image.php | |
− | |||
− | libraries/joomla/html/html/image.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtmlImage::site source code''' on [[jplatform:html/html/image.php#cl-29|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHtmlImage/11.1|JHtmlImage]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JHtmlImage::site|Other versions of JHtmlImage::site]] | ||
+ | {{SeeAlso:JHtmlImage::site}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlImage::site|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlImage::site|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 76: | Line 81: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlImage]][[Category:JHtmlImage::site]]</noinclude> | <noinclude>[[Category:JHtmlImage]][[Category:JHtmlImage::site]]</noinclude> |
Revision as of 21:07, 27 April 2011
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::site[edit]
Description[edit]
Checks to see if an image exists in the current templates image directory.
Template:Description:JHtmlImage::site [Edit Descripton]
public static function site (
$file
$folder= '/images/system/'
$altFile=null
$altFolder= '/images/system/'
$alt=null
$attribs=null
$asTag=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$file | |||
$folder | '/images/system/' | ||
$altFile | null | ||
$altFolder | '/images/system/' | ||
$alt | null | ||
$attribs | null | ||
$asTag | true |
- Returns
- Defined on line 37 of libraries/joomla/html/html/image.php
See also[edit]
- JHtmlImage::site source code on BitBucket
- Class JHtmlImage
- Subpackage Html
- Other versions of JHtmlImage::site
Template:SeeAlso:JHtmlImage::site [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />