1<?php
2/**
3 * View helper class to allow access to the Horde_Themes_Image::tag() method.
4 *
5 * Copyright 2012-2017 Horde LLC (http://www.horde.org/)
6 *
7 * See the enclosed file COPYING for license information (LGPL). If you
8 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
9 *
10 * @author   Michael Slusarz <slusarz@horde.org>
11 * @category Horde
12 * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
13 * @package  Core
14 */
15class Horde_Core_View_Helper_Image extends Horde_View_Helper_Base
16{
17    /**
18     * Wrapper around the Horde_Themes_Image::tag() method.
19     *
20     * @see Horde_Themes_Image::tag()
21     */
22    public function hordeImage($src, $alt = '', $attr = '')
23    {
24        return Horde_Themes_Image::tag($src, array(
25            'alt' => $alt,
26            'attr' => $attr
27        ));
28    }
29
30}
31