class GroupCombinationEntity extends Entity (View source)

Properties

$error from  ConcreteObject
protected string|null $label from  Entity
int $petID from  Entity
string $petHandle from  Entity
int $peID from  Entity
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

setAccessEntityTypeID(int $petID)

No description

from  Entity
setAccessEntityTypeHandle(string $petHandle)

No description

from  Entity
setAccessEntityID(int $peID)

No description

from  Entity
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
load()

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

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.

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

setAccessEntityTypeID(int $petID)

No description

Parameters

int $petID

setAccessEntityTypeHandle(string $petHandle)

No description

Parameters

string $petHandle

setAccessEntityID(int $peID)

No description

Parameters

int $peID

getAccessEntityTypeID()

No description

getAccessEntityTypeObject()

No description

getAccessEntityTypeHandle()

No description

getAccessEntityID()

No description

getAccessEntityLabel()

No description

load()

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

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)

No description

Parameters

Access $pae

final static getByID($peID)

No description

Parameters

$peID

static getForUser($user)

No description

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