|
|
XTPL Template Engine - XTPL
ImgTag
HtmlTag
|
+-- ImgTag
|
public class ImgTag extends HtmlTag
<img> tag extender for HtmlTag. Provides a bit easier creation of <img> objects
in your PHP code.
|
|
|
|
|
|
Public Method Details |
ImgTag
|
public void ImgTag( string $src, [ string $alt, string $width, string $height ] )
|
|
Constructor: creates new ImgTag object.
|
Parameter |
|
string |
$src |
|
|
Image source. |
|
|
string |
$alt |
= >>''<< |
|
Alternative text. |
|
|
string |
$width |
= >>null,<< |
|
Image width. |
|
|
string |
$height |
= >>null<< |
|
Image height. |
|
Returns |
void
|
|
|
|
|
PHPDoc 1.0beta |