Actions

API17

Difference between revisions of "JHtmlImage::site"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlImage::site|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlImage::site|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlImage::site ($file, $folder= '/images/system/', $altFile=null, $altFolder= '/images/system/', $alt=null, $attribs=null, $asTag=true)
+
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===
+
* '''Returns'''
 
+
* '''Defined''' on line 37 of libraries/joomla/html/html/image.php
===Defined in===
+
libraries/joomla/html/html/image.php
+
===Referenced by===
+
 
===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>
* [[JHtmlImage/11.1|JHtmlImage]]
+
===User contributed notes===
* [[JHtmlImage::site|Other versions of this method]]
+
{{SeeAlso:JHtmlImage::site}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 75: 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

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlImage::site

Description

Checks to see if an image exists in the current templates image directory.

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

SeeAlso:JHtmlImage::site [Edit See Also]

User contributed notes

<CodeExamplesForm />