Documentation

Horde_Core_Tree_Renderer_Html extends Horde_Tree_Renderer_Html
in package

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.

Tags
author

Michael Slusarz slusarz@horde.org

author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Properties

$_images  : array<string|int, mixed>
Images array.

Methods

_generateImage()  : string
Generate the icon image.
_generateUrlTag()  : string
Generate a link URL tag.

Properties

$_images

Images array.

protected array<string|int, mixed> $_images = array('line' => 1, 'blank' => '', 'join' => 2, 'join_bottom' => 4, 'join_top' => 3, 'plus' => 10, 'plus_bottom' => 11, 'plus_only' => 12, 'minus' => 6, 'minus_bottom' => 7, 'minus_only' => 8, 'null_only' => 13, 'folder' => 14, 'folderopen' => 15, 'leaf' => 16)

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

Methods

_generateImage()

Generate the icon image.

protected _generateImage(string $src[, string $class = '' ][, string $alt = null ]) : string
Parameters
$src : string

The source image.

$class : string = ''

Additional class to add to image.

$alt : string = null

Alt text to add to the image.

Return values
string

A HTML tag to display the image.

_generateUrlTag()

Generate a link URL tag.

protected _generateUrlTag(string $node_id) : string
Parameters
$node_id : string

The node ID.

Return values
string

The link tag.


        
On this page

Search results