MidCOM level replacement for the Midgard Group record with framework support.

package midcom.db


_on_loaded ()

Updates all computed members.

add_member (\midcom_db_person $person)

Helper function, adds the given person to this group.

The current user must have midgard:create privileges on this object for this to succeed. If the person is already a member of this group, nothing is done.



\midcom_db_personThe person to add.


booleanIndicating success.

get_label ()

is_member (\midcom_db_person $person)

Checks whether the given user is a member of this group.



\midcom_db_personThe person to check.


booleanIndicating membership.



mixed $__mgdschema_class_name__


mixed $__midcom_class_name__