class GroupCombinationEntity extends Entity (View source)

Properties

$error from ConcreteObject
protected Group[] $groups Collection of groups belonging to this GroupCombinationEntity.

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

getAccessEntityTypeID()

No description

from Entity
getAccessEntityTypeObject()

No description

from Entity
getAccessEntityTypeHandle()

No description

from Entity
getAccessEntityID()

No description

from Entity
getAccessEntityLabel()

No description

from Entity
getAccessEntityUsers(Access $pa)

Get the users who have access to this GroupCombination.

getAccessEntityTypeLinkHTML()

Function that returns a html link for the model dialog to be launched from.

static 
getAccessEntitiesForUser(mixed $user)

Returns all GroupCombination Access Entities for the provided user.

validate(Access $pae)

No description

from Entity
static 
getByID($peID)

No description

from Entity
static 
getForUser($user)

No description

from Entity
Group[]
getGroups()

Function to get the groups belonging to this GroupCombination.

getOrCreate(Group[] $groups)

Function used to get or create a GroupCombination Permission Access Entity.

void
load()

Function used to load the properties for this GroupCombinationEntity from the database.

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

getAccessEntityTypeID()

getAccessEntityTypeObject()

getAccessEntityTypeHandle()

getAccessEntityID()

getAccessEntityLabel()

getAccessEntityUsers(Access $pa)

Get the users who have access to this GroupCombination.

Parameters

Access $pa

getAccessEntityTypeLinkHTML()

Function that returns a html link for the model dialog to be launched from.

static getAccessEntitiesForUser(mixed $user)

Returns all GroupCombination Access Entities for the provided user.

Parameters

mixed $user

validate(Access $pae)

Parameters

Access $pae

final static getByID($peID)

Parameters

$peID

static getForUser($user)

Parameters

$user

Group[] getGroups()

Function to get the groups belonging to this GroupCombination.

Return Value

Group[] | array

static GroupCombinationEntity getOrCreate(Group[] $groups)

Function used to get or create a GroupCombination Permission Access Entity.

Parameters

Group[] $groups Groups for this combination.

Return Value

GroupCombinationEntity

void load()

Function used to load the properties for this GroupCombinationEntity from the database.

Return Value

void