org.openpsa.documents document handler and viewer class.

package org.openpsa.documents

 Methods

_handler_navigation (mixed $handler_id, array $args, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_navigation (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_navigation_tree (array $tree_array, string $link_url)

Shows the navigation tree

Parameters

$tree_array

array- array which contains tree (build by _tree_array_build)

$link_url

string- contains the link for the item

_tree_array_build (array $topic_array, array $root_topic, array $tree_array)

Builds an array with a tree-structure from a given array of topics

Parameters

$topic_array

array- array which contains the topics for the tree

$root_topic

array- root topic of the tree

$tree_array

array&$tree_array - array which contains the tree