\Horde_Core_Tree_Renderer_Html

The Horde_Core_Tree_Renderer_Html class extends the Horde_Tree_Html class to provide for creation of Horde-specific URLs.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
_generateUrlTag()
_generateImage()
$_images
N/A
No private methods found
No private properties found
N/A

Properties

$_images

$_images : array

Images array.

Values correspond to 'horde-tree-image-#' CSS classes in horde/themes/screen.css.

Type

array

Methods

_generateUrlTag()

_generateUrlTag(string  $node_id) : string

Generate a link URL tag.

Parameters

string $node_id

The node ID.

Returns

string —

The link tag.

_generateImage()

_generateImage(string  $src, string  $class = '', string  $alt = null) : string

Generate the icon image.

Parameters

string $src

The source image.

string $class

Additional class to add to image.

string $alt

Alt text to add to the image.

Returns

string —

A HTML tag to display the image.