TemplateCheckListTree extends CheckListTree
Class TemplateCheckListTree
Table of Contents
Methods
- attach() : Result
- attachNew() : Result
- canAttach() : Result
- delete() : Result
- detach() : Result
- detachSubTree() : Result
- ensureNodeExists() : bool
- getChildren() : array<string|int, mixed>
- getClosestParentId() : int
- getDataController() : string
- getRootId() : string|null
- isNodeExist() : bool
- isPathExist() : bool
Methods
attach()
public
static attach(mixed $id[, int $parentId = 0 ][, array<string|int, mixed> $parameters = [] ]) : Result
Parameters
- $id : mixed
- $parentId : int = 0
- $parameters : array<string|int, mixed> = []
Tags
Return values
ResultattachNew()
public
static attachNew(mixed $id, mixed $parentId[, array<string|int, mixed> $parameters = [] ]) : Result
Parameters
- $id : mixed
- $parentId : mixed
- $parameters : array<string|int, mixed> = []
Tags
Return values
ResultcanAttach()
public
static canAttach(mixed $id[, int $parentId = 0 ]) : Result
Parameters
- $id : mixed
- $parentId : int = 0
Tags
Return values
Resultdelete()
public
static delete(mixed $id[, array<string|int, mixed> $parameters = [] ]) : Result
Parameters
- $id : mixed
- $parameters : array<string|int, mixed> = []
Tags
Return values
Resultdetach()
public
static detach(mixed $id) : Result
Parameters
- $id : mixed
Tags
Return values
ResultdetachSubTree()
public
static detachSubTree(mixed $rootId) : Result
Parameters
- $rootId : mixed
Tags
Return values
ResultensureNodeExists()
public
static ensureNodeExists(mixed $id) : bool
Parameters
- $id : mixed
Tags
Return values
boolgetChildren()
public
static getChildren(mixed $id[, array<string|int, mixed> $parameters = [] ]) : array<string|int, mixed>
Parameters
- $id : mixed
- $parameters : array<string|int, mixed> = []
Tags
Return values
array<string|int, mixed>getClosestParentId()
public
static getClosestParentId(mixed $id) : int
Parameters
- $id : mixed
Tags
Return values
intgetDataController()
public
static getDataController() : string
Return values
stringgetRootId()
public
static getRootId(mixed $id) : string|null
Parameters
- $id : mixed
Tags
Return values
string|nullisNodeExist()
public
static isNodeExist(mixed $id) : bool
Parameters
- $id : mixed
Tags
Return values
boolisPathExist()
public
static isPathExist(mixed $parentId, mixed $id[, array<string|int, mixed> $parameters = [] ]) : bool
Parameters
- $parentId : mixed
- $id : mixed
- $parameters : array<string|int, mixed> = []