Documentation

Kanban
in package

Kanban utils class.

Table of Contents

addBoard()  : void
Add boards.
clearCache()  : mixed
Clear cache for module.
deleteBoard()  : void
Delete boards.
deleteField()  : mixed
Remove field from kanban board.
getBoard()  : array<string|int, mixed>
Get board by id.
getBoards()  : array<string|int, mixed>
Get boards by module name.
getSupportedFields()  : array<string|int, mixed>
Get supported fields.
updateBoard()  : void
Update boards.
updateSequence()  : void
Update boards sequence boards.

Methods

addBoard()

Add boards.

public static addBoard(int $fieldId) : void
Parameters
$fieldId : int
Return values
void

clearCache()

Clear cache for module.

public static clearCache(string $moduleName) : mixed
Parameters
$moduleName : string
Return values
mixed

deleteBoard()

Delete boards.

public static deleteBoard(int $id) : void
Parameters
$id : int
Return values
void

deleteField()

Remove field from kanban board.

public static deleteField(string $moduleName, string $fieldName) : mixed
Parameters
$moduleName : string
$fieldName : string
Return values
mixed

getBoard()

Get board by id.

public static getBoard(int $id) : array<string|int, mixed>
Parameters
$id : int
Return values
array<string|int, mixed>

getBoards()

Get boards by module name.

public static getBoards(string $moduleName[, bool $privileges = false ]) : array<string|int, mixed>
Parameters
$moduleName : string
$privileges : bool = false
Return values
array<string|int, mixed>

getSupportedFields()

Get supported fields.

public static getSupportedFields(string $moduleName) : array<string|int, mixed>
Parameters
$moduleName : string

@return \Vtiger_Field_Model[]

Return values
array<string|int, mixed>

updateBoard()

Update boards.

public static updateBoard(int $id, string $type, array<string|int, mixed> $value) : void
Parameters
$id : int
$type : string
$value : array<string|int, mixed>
Return values
void

updateSequence()

Update boards sequence boards.

public static updateSequence(string $moduleName, array<string|int, mixed> $rows) : void
Parameters
$moduleName : string
$rows : array<string|int, mixed>
Return values
void

        

Search results