Solar_View_Helper_AnchorImage::anchorImage()

public string Solar_View_Helper_AnchorImage::anchorImage ( Solar_Uri|string $spec , string $src , array $a_attribs = array () , array $img_attribs = 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.

See Also



Local