class GroupRole extends ConcreteObject implements JsonSerializable (View source)

Properties

$error from  ConcreteObject
protected int $grID
protected string $grName
protected bool $grIsManager

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

string
getId()

No description

string
getName()

No description

bool
setName(string $grName)

No description

bool
isManager()

No description

bool
setIsManager(bool $grIsManager)

No description

static GroupRole|bool
getByID($grID)

No description

static GroupRole[]
getListByGroupType(GroupType $groupType)

No description

static array
getListByGroup(Group $group)

No description

static array
getList()

No description

static bool|GroupRole
add(string $grName, bool $grIsManager)

No description

bool
delete()

No description

jsonSerialize()

No description

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

string getId()

No description

Return Value

string

string getName()

No description

Return Value

string

bool setName(string $grName)

No description

Parameters

string $grName

Return Value

bool

bool isManager()

No description

Return Value

bool

bool setIsManager(bool $grIsManager)

No description

Parameters

bool $grIsManager

Return Value

bool

static GroupRole|bool getByID($grID)

No description

Parameters

$grID

Return Value

GroupRole|bool

static GroupRole[] getListByGroupType(GroupType $groupType)

No description

Parameters

GroupType $groupType

Return Value

GroupRole[]

static array getListByGroup(Group $group)

No description

Parameters

Group $group

Return Value

array

static array getList()

No description

Return Value

array

static bool|GroupRole add(string $grName, bool $grIsManager)

No description

Parameters

string $grName
bool $grIsManager

Return Value

bool|GroupRole

bool delete()

No description

Return Value

bool

Exceptions

Exception

jsonSerialize()

No description