PHP Класс Horde_Tree_Renderer_Jquerymobile, 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.
Устаревший: API of _buildTree() fails strict PHP code check
Автор: Michael Slusarz ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Tree_Renderer_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getTree ( $static = false ) : string Returns the tree.

Защищенные методы

Метод Описание
_buildTree ( string $node_id, $special ) : string Recursive function to walk through the tree array and build the output.
_getIcon ( string $node_id ) : string Sets the icon for the node.

Описание методов

_buildTree() защищенный Метод

Recursive function to walk through the tree array and build the output.
protected _buildTree ( string $node_id, $special ) : string
$node_id string The Node ID.
Результат string The tree rendering.

_getIcon() защищенный Метод

Sets the icon for the node.
protected _getIcon ( string $node_id ) : string
$node_id string The Node ID.
Результат string The node icon for the tree line.

getTree() публичный Метод

Returns the tree.
public getTree ( $static = false ) : string
Результат string The HTML code of the rendered tree.