AdminSystemStaff extends AdminController
Admin System Staff Settings
Table of Contents
Methods
| add() | Staff Add Settings page |
| addGroup() | Add Staff Group |
| deleteGroup() | Deletes a staff group |
| edit() | Staff Edit Settings page |
| editGroup() | Edit Staff Group |
| groups() | Staff Groups |
| index() | Index |
| manage() | Manage Staff |
| preAction() | Pre-action setup method that is called before the index method, or the set controller action |
| status() | Updates the status of a staff member |
| assignGroups() | Sets the assigned and available staff groups. Manipulates the given parameters by reference. |
| getEmailGroups() | Retrieves a list of email groups |
Methods
add()
Staff Add Settings page
public
add() : mixed
addGroup()
Add Staff Group
public
addGroup() : mixed
deleteGroup()
Deletes a staff group
public
deleteGroup() : mixed
edit()
Staff Edit Settings page
public
edit() : mixed
editGroup()
Edit Staff Group
public
editGroup() : mixed
groups()
Staff Groups
public
groups() : mixed
index()
Index
public
index() : mixed
manage()
Manage Staff
public
manage() : mixed
preAction()
Pre-action setup method that is called before the index method, or the set controller action
public
preAction() : mixed
status()
Updates the status of a staff member
public
status() : mixed
assignGroups()
Sets the assigned and available staff groups. Manipulates the given parameters by reference.
private
assignGroups(array<string|int, mixed> &$staff_groups, array<string|int, mixed> &$assigned_groups) : mixed
Parameters
- $staff_groups : array<string|int, mixed>
-
A key=>value array of staff groups containing group id => name
- $assigned_groups : array<string|int, mixed>
-
A numerically indexed array of staff group IDs
Tags
getEmailGroups()
Retrieves a list of email groups
private
getEmailGroups(string $type) : array<string|int, mixed>
Parameters
- $type : string
-
The notice type of the email groups to fetch
Return values
array<string|int, mixed> —A list of email groups