Actions

API17

Difference between revisions of "JHtml::image"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtml::image|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtml::image|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtml::image ($file, $alt, $attribs=null, $relative=false, $path_only=false)
+
public static function image (
 +
        $file
 +
        $alt
 +
        $attribs=null
 +
        $relative=false
 +
        $path_only=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 45: Line 50:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 372 of libraries/joomla/html/html.php
===Defined in===
+
libraries/joomla/html/html.php (line 369)
+
* see source code in [[jplatform:html/html.php#cl-369|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtml::image source code''' on [[jplatform:html/html.php#cl-364|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtml/11.1|JHtml]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtml::image|Other versions of JHtml::image]]
 +
{{SeeAlso:JHtml::image}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtml::image|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtml::image|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtml/11.1|JHtml]]
+
===User contributed notes===
* [[JHtml::image|Other versions of this method]]
+
{{SeeAlso:JHtml::image}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 66: Line 69:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtml]][[Category:JHtml::image]]</noinclude>
 
<noinclude>[[Category:JHtml]][[Category:JHtml::image]]</noinclude>

Revision as of 21:04, 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 JHtml::image

Description

Write a.

Description:JHtml::image [Edit Descripton]

public static function image (
        $file
        $alt
        $attribs=null
        $relative=false
        $path_only=false
)
Parameter Type Default Description
$file
$alt
$attribs null
$relative false
$path_only false
  • Returns
  • Defined on line 372 of libraries/joomla/html/html.php

See also

SeeAlso:JHtml::image [Edit See Also]

User contributed notes

<CodeExamplesForm />