GroupCommon
trait GroupCommon
Group limits common between total and timed
The extra complexity with groups is because they operate as sums of their component accounts, and must manage updating themselves when account memberships are changed.
Group limits apply to its component accounts individually, not the group as a whole.
Methods
No description
Returns the ID of the limited group
Returns the inheritance priority of the limited group
No description
No description
No description
Updates the group's stats by adding or subtracting an account's stats
No description
Configures limits for the given group with the given input
Deletes the group limits and potentially removes account limits
No description
Details
at line 41
static protected string
GetObjectClass()
No description
at line 44
string
GetGroupID()
Returns the ID of the limited group
at line 47
Group
GetGroup()
Returns the limited group object
at line 50
int
GetPriority()
Returns the inheritance priority of the limited group
at line 52
protected bool
canTrackItems()
No description
at line 53
protected bool
canTrackDLStats()
No description
at line 56
protected bool
IsCounterOverLimit(string $name, int $delta = 0)
No description
at line 63
protected void
BaseProcessAccountChange(Base $aclim, bool $add)
Updates the group's stats by adding or subtracting an account's stats
at line 73
static string
GetBaseUsage()
No description
at line 76
static protected int|null
GetTrackParam(Input $input, string $name)
No description
at line 84
protected void
SetBaseLimits(Input $input)
No description
at line 104
static GroupCommon
ConfigLimits(ObjectDatabase $database, Group $group, Input $input)
Configures limits for the given group with the given input
at line 113
void
Delete()
Deletes the group limits and potentially removes account limits
at line 126
array
GetClientObject(bool $isadmin = false)
No description