PHP Class Horde_Core_Tree_Renderer_Html, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Tree_Renderer_Html
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_images array Values correspond to 'horde-tree-image-#' CSS classes in horde/themes/screen.css.

Protected Methods

Method Description
_generateImage ( string $src, string $class = '', string $alt = null ) : string Generate the icon image.
_generateUrlTag ( string $node_id ) : string Generate a link URL tag.

Method Details

_generateImage() protected method

Generate the icon image.
protected _generateImage ( string $src, string $class = '', string $alt = null ) : string
$src string The source image.
$class string Additional class to add to image.
$alt string Alt text to add to the image.
return string A HTML tag to display the image.

_generateUrlTag() protected method

Generate a link URL tag.
protected _generateUrlTag ( string $node_id ) : string
$node_id string The node ID.
return string The link tag.

Property Details

$_images protected_oe property

Values correspond to 'horde-tree-image-#' CSS classes in horde/themes/screen.css.
protected array $_images
return array