|
Previous Page |
Solar_View_Helper_AnchorImage |
Next Page |
anchorImage()
public
string
anchorImage (
Solar_Uri|string $spec,
string $src,
array $a_attribs default array (),
array $img_attribs default array ()
)
Returns an image wrapped by an anchor href tag.
Parameters
- (Solar_Uri|string)
$spec: The anchor href specification. - (string)
$src: The href to the image source. - (array)
$a_attribs: Additional attributes for the anchor. - (array)
$img_attribs: Additional attributes for the image.
Returns
- (string) An <a href="..."><img ... /></a> tag set.
Description
Returns an image wrapped by an anchor href tag.