class Service (View source)

Constants

PARENT_GROUP_PATH

PARENT_GROUP_NAME

Properties

protected $entityManager

Methods

__construct(EntityManagerInterface $entityManager)

No description

getSiteParentGroup()

No description

getSiteTypeGroups(Type $type)

No description

getInstanceGroupsBySite(Site $site)

No description

createSiteGroup(Site $site)

Creates the concrete5 user group that will hold instance groups for this site.

createInstanceGroup(Group $siteGroup, Group $parent)

No description

addGroup(Type $type, $groupName)

No description

Details

__construct(EntityManagerInterface $entityManager)

No description

Parameters

EntityManagerInterface $entityManager

getSiteParentGroup()

No description

getSiteTypeGroups(Type $type)

No description

Parameters

Type $type

getInstanceGroupsBySite(Site $site)

No description

Parameters

Site $site

createSiteGroup(Site $site)

Creates the concrete5 user group that will hold instance groups for this site.

Parameters

Site $site

createInstanceGroup(Group $siteGroup, Group $parent)

No description

Parameters

Group $siteGroup
Group $parent

addGroup(Type $type, $groupName)

No description

Parameters

Type $type
$groupName