DBA class for org_openpsa_document

Implements parameter and attachment methods for DM compatibility

package org.openpsa.documents

 Methods

_on_created ()

_on_creating ()

_on_deleted ()

_on_loaded ()

_on_updated ()

backup_version ()

get_class ()

get_file_type (string $mimetype)

Helper function that tries to generate a human-readable file type by doing some educated guessing based on mimetypes
Static

Parameters

$mimetype

stringThe mimetype as reported by PHP

Returns

stringThe localized file type

load_attachment ()

Helper function to load the document's attachment

Returns

\midcom_db_attachmentThe attachment object

_update_directory_timestamp ()

 Properties

 

mixed $__mgdschema_class_name__

 

mixed $__midcom_class_name__

 Constants

 

OBTYPE_DOCUMENT

 

STATUS_DRAFT

 

STATUS_FINAL

 

STATUS_REVIEW