Difference between revisions of "JHtmlImage::administrator"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function administrator ( |
+ | $file | ||
+ | $folder= '/images/' | ||
+ | $altFile=null | ||
+ | $altFolder= '/images/' | ||
+ | $alt=null | ||
+ | $attribs=null | ||
+ | $asTag=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 55: | Line 60: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''Returns''' |
+ | * '''Defined''' on line 108 of libraries/joomla/html/html/image.php | ||
+ | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtmlImage::administrator source code''' on [[jplatform:html/html/image.php#cl-100|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JHtmlImage|JHtmlImage]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] | ||
+ | * [[API17:JHtmlImage::administrator|Other versions of JHtmlImage::administrator]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | === | + | === Code Examples === |
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlImage::administrator | category=JHtmlImage::administrator | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:12, 24 March 2017
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::administrator[edit]
Description[edit]
Checks to see if an image exists in the current templates image directory if it does it loads this image.
public static function administrator (
$file
$folder= '/images/'
$altFile=null
$altFolder= '/images/'
$alt=null
$attribs=null
$asTag=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$file | |||
$folder | '/images/' | ||
$altFile | null | ||
$altFolder | '/images/' | ||
$alt | null | ||
$attribs | null | ||
$asTag | true |
- Returns
- Defined on line 108 of libraries/joomla/html/html/image.php
See also[edit]
- JHtmlImage::administrator source code on BitBucket
- Class JHtmlImage
- Subpackage Html
- Other versions of JHtmlImage::administrator
User contributed notes[edit]
Code Examples[edit]