Table of Contents
Constants
-
CODE
= 'collab'
Methods
-
__construct()
: mixed
-
getCode()
: string
-
getFinalStructure()
: array<string|int, mixed>
-
getItems()
: array<string|int, mixed>
-
getName()
: string
-
getParentForItem()
: string|null
-
getSortForItem()
: int|null
-
getStructure()
: array<string|int, mixed>
-
getToolsStructure()
: array<string|int, mixed>|null
-
isAvailable()
: bool
-
oldToNewStructure()
: array<string|int, mixed>
CODE
public
mixed
CODE
= 'collab'
__construct()
public
__construct(string $siteId) : mixed
Parameters
-
$siteId
: string
-
getCode()
public
getCode() : string
getFinalStructure()
public
final getFinalStructure() : array<string|int, mixed>
Return values
array<string|int, mixed>
getItems()
public
getItems() : array<string|int, mixed>
Return values
array<string|int, mixed>
getName()
public
getName() : string
getParentForItem()
public
getParentForItem(mixed $itemId, Basic $item) : string|null
Parameters
-
$itemId
: mixed
-
-
$item
: Basic
-
Return values
string|null
getSortForItem()
public
getSortForItem(mixed $itemId, mixed $parentId) : int|null
Parameters
-
$itemId
: mixed
-
-
$parentId
: mixed
-
getStructure()
public
getStructure() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
getToolsStructure() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
isAvailable()
public
static isAvailable() : bool
oldToNewStructure()
public
static oldToNewStructure(array<string|int, mixed> $oldData, array<string|int, mixed> $newData) : array<string|int, mixed>
Parameters
-
$oldData
: array<string|int, mixed>
-
-
$newData
: array<string|int, mixed>
-
Return values
array<string|int, mixed>