Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular info function.
?array
info
()
Standard modular install function.
void
install
([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
-
?integer
$upgrade_from: What version we're upgrading from (NULL: new install)
-
?integer
$upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
Standard modular run function.
tempcode
run
()
The actualiser for editing staff information.
tempcode
staff_edit
()
The UI for editing staff information.
tempcode
staff_interface
()
Standard modular uninstall function.
void
uninstall
()
Add a member of staff.
void
_staff_add
(MEMBER $id)
-
MEMBER
$id: The ID of the member to add as staff
Edit a member of staff.
void
_staff_edit
(MEMBER $id, SHORT_TEXT $role, SHORT_TEXT $fullname)
-
MEMBER
$id: The member ID of the staff being edited
-
SHORT_TEXT
$role: The role of the staff member
-
SHORT_TEXT
$fullname: The full-name of the staff member
Remove a member of staff.
void
_staff_remove
(MEMBER $id)
-
MEMBER
$id: The ID of the member to remove from the staff