XOOPS  2.6.0
Xoops\Html\Img Class Reference
Inheritance diagram for Xoops\Html\Img:
Inheritance graph

Public Member Functions

 __construct ($attributes=array())
 
 render ()
 
- Public Member Functions inherited from Xoops\Html\Attributes
 addAttribute ($name, $value)
 
 getAttribute ($name)
 
 hasAttribute ($name)
 
 renderAttributeString ()
 
 setAttribute ($name, $value=null)
 
 setAttributes ($values)
 
 unsetAttribute ($name)
 

Additional Inherited Members

- Protected Attributes inherited from Xoops\Html\Attributes
 $attributes = array()
 

Detailed Description

Definition at line 25 of file Img.php.

Constructor & Destructor Documentation

Xoops\Html\Img::__construct (   $attributes = array())

__construct

Parameters
array$attributesarray of attribute name => value pairs for img tag

Definition at line 32 of file Img.php.

References Xoops\Html\Attributes\$attributes, and Xoops\Html\Attributes\setAttributes().

Here is the call graph for this function:

Member Function Documentation

Xoops\Html\Img::render ( )

render

Returns
string

Definition at line 44 of file Img.php.

References Xoops\Html\Attributes\renderAttributeString().

Here is the call graph for this function:


The documentation for this class was generated from the following file: