|
Previous Page |
Solar_View_Helper_Image |
Next Page |
image()
public
string
image (
string $src,
array $attribs default array ()
)
Returns an <img ...
Parameters
- (string)
$src: The href to the image source. - (array)
$attribs: Additional attributes for the tag.
Returns
- (string) An <img ... /> tag.
Description
Returns an <img ...
/> tag.
If an "alt" attribute is not specified, will add it from the image basename().