Navigation class for Asgard

package midgard.admin.asgard

 Methods

__construct ($object, $request_data)

Parameters

$object

$request_data

_get_reflector ($object)

Parameters

$object

draw ()

get_object_path ()

_common_css_classes ($object, $ref, $css_class)

Parameters

$object

$ref

$css_class

_draw_plugins ()

_draw_select_navigation ()

_draw_type_list (array $types)

Parameters

$types

_is_selected ($object)

Parameters

$object

_list_child_elements ($object, $prefix, $level)

Parameters

$object

$prefix

$level

_list_root_elements (array $root_objects, \midcom_helper_reflector_tree $ref)

Renders the given root objects to HTML and calls _list_child_elements()

Parameters

$root_objects

array&$root_objects reference to the array of root objects

$ref

\midcom_helper_reflector_tree&$ref Reflector singleton

_process_root_types ()

Helper function that applies visibility restrictions from various sources

Returns an alphabetically sorted list of class => title pairs

Returns

Array

 Properties

 

mixed $expanded_root_types

 

string $root_types

Root types
 

mixed $shown_objects

 

\midgard_object $_object

Some object
 

Array $_object_path

Object path to the current object.
 

mixed $_reflectors

 

mixed $_request_data