HumHub Documentation (unofficial)

GroupManager
in package

Loads information for groups from external sources (config, filesystem)

Table of Contents

Properties

$configuredGroups  : mixed
$rootDir  : mixed
$testsInGroups  : mixed

Methods

__construct()  : mixed
groupsForTest()  : mixed
loadConfiguredGroupSettings()  : mixed
loadGroupsByPattern()  : mixed
proceeds group names with asterisk:
checkIfFileExists()  : mixed
normalizeFilePath()  : false|string

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $groups) : mixed
Parameters
$groups : array<string|int, mixed>

loadConfiguredGroupSettings()

protected loadConfiguredGroupSettings() : mixed

loadGroupsByPattern()

proceeds group names with asterisk:

protected loadGroupsByPattern() : mixed
"tests/_log/g_*" => [
     "tests/_log/group_1",
     "tests/_log/group_2",
     "tests/_log/group_3",
]

normalizeFilePath()

private normalizeFilePath(string $file, string $group) : false|string
Parameters
$file : string
$group : string
Tags
throws
ConfigurationException
Return values
false|string

        
On this page

Search results