org.openpsa.documents document handler and viewer class.

package org.openpsa.documents

 Methods

_handler_delete (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.

_handler_edit (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.

_on_initialize ()

_show_delete (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_edit (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_backup_attachment ()

Handle versioning of the attachment
todo Move this to the DBA wrapper class when DM datatype_blob behaves better

_load_document ($guid)

Parameters

$guid

_load_edit_controller ()

Internal helper, loads the controller for the current document.

Any error triggers a 500.

_update_breadcrumb_line (mixed $action)

Helper, updates the context so that we get a complete breadcrumb line towards the current location.

Parameters

$action

mixedThe current action

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the document used for creating or editing
 

mixed $_datamanager

 

\org_openpsa_documents_documen_dba $_document

The document we're working with (if any).
 

string $_schema

The schema to use for the new document.
 

Array $_schemadb

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