GroupSystem
extends Group
Table of Contents
Methods
-
__construct()
: mixed
-
canUserDelete()
: bool
-
getCode()
: string
-
getErrorList()
: array<string|int, mixed>
-
getId()
: string|null
-
getLink()
: string|null
-
getParent()
: Group|null
-
getSort()
: int|null
-
hasParent()
: bool
-
init()
: void
-
isSuccess()
: bool
-
prepareData()
: array<string|int, mixed>
-
setDefaultOptions()
: mixed
-
setParent()
: mixed
-
setSort()
: mixed
__construct()
public
__construct(array<string|int, mixed> $itemData[, string|null $siteId = null ]) : mixed
Parameters
-
$itemData
: array<string|int, mixed>
-
-
$siteId
: string|null
= null
-
canUserDelete()
public
canUserDelete(User $user) : bool
Parameters
-
$user
: User
-
getCode()
public
getCode() : string
getErrorList()
public
getErrorList() : array<string|int, mixed>
Return values
array<string|int, mixed>
getId()
public
getId() : string|null
Return values
string|null
getLink()
public
getLink() : string|null
Return values
string|null
getParent()
public
getParent() : Group|null
getSort()
public
getSort() : int|null
hasParent()
public
hasParent() : bool
init()
public
init(array<string|int, mixed> $itemData) : void
Parameters
-
$itemData
: array<string|int, mixed>
-
isSuccess()
public
isSuccess() : bool
prepareData()
public
prepareData(User $user) : array<string|int, mixed>
Parameters
-
$user
: User
-
Return values
array<string|int, mixed>
setDefaultOptions()
public
setDefaultOptions(array<string|int, mixed> $options) : mixed
Parameters
-
$options
: array<string|int, mixed>
-
setParent()
public
setParent(Group|null $parent) : mixed
Parameters
-
$parent
: Group|null
-
setSort()
public
setSort(int|null $sorting) : mixed
Parameters
-
$sorting
: int|null
-