Difference between revisions of "JHtmlImage::administrator"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (preparing for archive only) |
||
(2 intermediate revisions by the same user 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 function administrator ( | public static function administrator ( | ||
Line 66: | Line 64: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JHtmlImage::administrator source code''' on [[jplatform:html/html/image.php#cl-100|BitBucket]] | * {{JVer|11.1}} '''JHtmlImage::administrator source code''' on [[jplatform:html/html/image.php#cl-100|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JHtmlImage | + | * {{JVer|11.1}} Class [[API17:JHtmlImage|JHtmlImage]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] |
− | * [[JHtmlImage::administrator|Other versions of JHtmlImage::administrator]] | + | * [[API17:JHtmlImage::administrator|Other versions of JHtmlImage::administrator]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===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=* |
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]