Blesta Source Documentation

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

preAction()

Pre-action setup method that is called before the index method, or the set controller action

public preAction() : 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
see
AdminSystemStaff::addGroup()

and AdminSystemStaff::editGroup()

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

Tags
subpackage

app.controllers

copyright

Copyright (c) 2010, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results