class GroupType extends ConcreteObject implements JsonSerializable (View source)

Properties

$error from  ConcreteObject
protected int $gtID
protected string $gtName
protected bool $gtPetitionForPublicEntry

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 $gtName)

No description

bool
isPetitionForPublicEntry()

No description

bool
setPetitionForPublicEntry(bool $gtPetitionForPublicEntry)

No description

static GroupType|bool
getByID($gtID)

No description

bool|GroupRole
getDefaultRole()

No description

static array
getSelectList()

No description

static GroupType[]
getList()

No description

static bool|GroupType
add(string $gtName, bool $gtPetitionForPublicEntry)

No description

bool
setDefaultRole(GroupRole $role)

No description

bool
delete()

No description

getRoles()

No description

bool
addRole(GroupRole $role)

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 $gtName)

No description

Parameters

string $gtName

Return Value

bool

bool isPetitionForPublicEntry()

No description

Return Value

bool

bool setPetitionForPublicEntry(bool $gtPetitionForPublicEntry)

No description

Parameters

bool $gtPetitionForPublicEntry

Return Value

bool

static GroupType|bool getByID($gtID)

No description

Parameters

$gtID

Return Value

GroupType|bool

bool|GroupRole getDefaultRole()

No description

Return Value

bool|GroupRole

static array getSelectList()

No description

Return Value

array

static GroupType[] getList()

No description

Return Value

GroupType[]

static bool|GroupType add(string $gtName, bool $gtPetitionForPublicEntry)

No description

Parameters

string $gtName
bool $gtPetitionForPublicEntry

Return Value

bool|GroupType

bool setDefaultRole(GroupRole $role)

No description

Parameters

GroupRole $role

Return Value

bool

bool delete()

No description

Return Value

bool

Exceptions

Exception

GroupRole[] getRoles()

No description

Return Value

GroupRole[]

bool addRole(GroupRole $role)

No description

Parameters

GroupRole $role

Return Value

bool

jsonSerialize()

No description