Handle the folder editing requests

package midcom.admin.folder

 Methods

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

Handler for folder editing.

Checks for the permissions and folder integrity.

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_edit (mixed $handler_id, array $data)

Shows the _Edit folder_ page.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($controller)

DM2 creation callback, binds to the current content topic.

Parameters

$controller

_create_style (string $style_name)

Create a new style for the topic

Parameters

$style_name

stringName of the style

Returns

stringStyle path

_create_topic ($prefix)

Parameters

$prefix

_load_controller ()

Load either a create controller or an edit (simple) controller or trigger an error message

_prepare_request_data ()

_update_topic ($prefix, $old_name)

Parameters

$prefix

$old_name

 Properties

 

\midcom_helper_datamanager2_controller $_controller

DM2 controller instance
 

mixed $_handler_id

ID of the handler
 

\midcom_helper_datamanager2_schema $_schemadb

DM2 schema