org.openpsa.documents document handler and viewer class.

package org.openpsa.documents

 Methods

_handler_create (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_create (mixed $handler_id, array $data)

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($datamanager)

This is what Datamanager calls to actually create a document

Parameters

$datamanager

_load_create_controller ()

Internal helper, fires up the creation mode controller.

Any error triggers a 500.

 Properties

 

\midcom_helper_datamanager2_controller_simple $_controller

The Controller of the document used for creating or editing
 

Array $_defaults

The defaults to use for the new document.
 

\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.