Folder management class.

package midcom.admin.folder

 Methods

_on_initialize ()

Initializes the context data and toolbar objects

get_component_list (string $parent_component)

Static method to list names of the non-purecore components
Static

Parameters

$parent_component

stringName of the parent component, which will pop the item first on the list

Returns

mixedArray containing names of the components

get_plugin_handlers ()

Get the plugin handlers, which act alike with Request Switches of MidCOM Baseclasses Components (midcom.baseclasses.components.request)

Returns

mixedArray of the plugin handlers

is_child_listing_finite (object $topic, $stop)

Checks if the folder has finite (healthy) tree below it.

Parameters

$topic

objectThe folder to be checked.

$stop

Returns

booleanIndicating success

list_components ($parent_component, $all)

Static method for populating user interface for editing and creating topics
Static

Parameters

$parent_component

$all

Returns

ArrayContaining a list of components

list_styles ($up, $prefix, $spacer)

Static method for listing available style templates
Static

Parameters

$up

$prefix

$spacer

 Properties

 

string $_anchor_prefix

Anchor prefix stores the link back to the edited content topic