img()
img(string $name = null, mixed $options = array()) : \Horde_Themes_Image
Return the path to an image, using the default image if the image does not exist in the current theme.
Parameters
string | $name | The image name. If null, will return the image directory. |
mixed | $options | Additional options. If a string, is taken to be the 'app' parameter. If an array, the following options are available:
|
Returns
\Horde_Themes_Image —An object which contains the URI and filesystem location of the image.