Object management interface

package midgard.admin.asgard

 Methods

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

Copy handler

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Object creating view

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Object display

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Object editing view

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Looks up the user's default mode and redirects there.

This is mainly useful for links from outside Asgard

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

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

Object display

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_copy (mixed $handler_id, array $data)

Show copy style

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_create (mixed $handler_id, array $data)

Shows the loaded object in editor.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_delete (mixed $handler_id, array $data)

Shows the object to delete.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_edit (mixed $handler_id, array $data)

Shows the loaded object in editor.

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_view (mixed $handler_id, array $data)

Shows the loaded object.

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

_add_jscripts ()

Helper function that adds the necessary static files for copy/delete operations

_find_linking_property ($new_type)

Parameters

$new_type

_load_object (string $guid)

Helper function to retrieve the object from the db

Parameters

$guid

stringGUID

_load_schemadb ($type, $include_fields, $add_copy_fields)

Loads the schemadb from the helper class

Parameters

$type

$include_fields

$add_copy_fields

_object_to_jsdata ($object)

Parameters

$object

_prepare_relocate (\midcom_core_dbaobject $object, $mode)

Parameters

$object

$mode

_prepare_request_data ()

Simple helper which references all important members to the request data listing for usage within the style listing.

_process_copy ($target)

Parameters

$target

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the object used for editing
 

\midcom_helper_datamanager2_datamanager $_datamanager

The Datamanager of the object to display.
 

\midgard_object $_new_object

Some newly created object
 

string $_new_type

Some MgdSchema class
 

\midgard_object $_object

Some object
 

array $_schemadb

The schema database in use, available only while a datamanager is loaded.