MidCOM wrapped access to the MgdSchema class, keep logic here

package org.openpsa.projects

 Methods

__get ($property)

Parameters

$property

_on_creating ()

_on_deleting ()

_on_loaded ()

_on_updated ()

_on_updating ()

add_members (string $property, array $ids)

Adds new contacts or resources

Parameters

$property

stringWhere should thy be added

$ids

arrayThe IDs of the contacts to add

get_class_magic_default_privileges ()

Deny midgard:read by default

get_icon ()

get_label ()

Generate a user-readable label for the task using the task/project hierarchy

get_members ()

Populates contacts as resources lists

get_task_resources ()

This function is called from the DM2 schema
Static

list_hours ()

pid_to_obj ($pid)

Static

Parameters

$pid

refresh ()

refresh_status ()

update_cache ($update)

Update hour report caches

Parameters

$update

_get_status ()

Queries status objects and sets correct value to $this->status

_prepare_save ()

_update_parent ()

 Properties

 

mixed $__mgdschema_class_name__

 

mixed $__midcom_class_name__

 

mixed $_skip_acl_refresh

 

mixed $_skip_parent_refresh

 

mixed $autodelete_dependents

 

mixed $contacts

 

mixed $resources

 

mixed $_status

 Constants

 

OBTYPE

 

WGTYPE_ACTIVE

 

WGTYPE_INACTIVE

 

WGTYPE_NONE