API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TKanban extends TElement
in package

Kanban

Tags
version
7.6
subpackage

util

author

Artur Comunello

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$itemActions  : mixed
$itemDatabase  : mixed
$itemDropAction  : mixed
$items  : mixed
$itemTemplate  : mixed
$kanban  : mixed
$stageActions  : mixed
$stageDropAction  : mixed
$stageHeight  : mixed
$stages  : mixed
$stageShortcuts  : mixed
$templatePath  : mixed
$topScrollbar  : mixed

Methods

__construct()  : mixed
Class Constructor
addItem()  : mixed
Add item to stage
addItemAction()  : mixed
Add item action
addStage()  : mixed
Add stage to kanban board
addStageAction()  : mixed
Add stage action
addStageShortcut()  : mixed
Add stage shortcut
enableTopScrollbar()  : mixed
Enable Top Scrollbar
setItemDatabase()  : mixed
Set item min database
setItemDropAction()  : mixed
Set item drop action
setItemTemplate()  : mixed
Set card item template for rendering
setStageDropAction()  : mixed
Set stage drop action
setStageHeight()  : mixed
setTemplatePath()  : mixed
Set kanban item template for rendering
show()  : mixed
Show kanban
renderItem()  : mixed
Render item
renderItemActions()  : mixed
Render item actions
renderStageActions()  : mixed
Render stage actions
renderStageItems()  : mixed
Render stage items
renderStages()  : mixed
Render stages
renderStageShortcuts()  : mixed
Render stage shortcuts

Properties

$itemActions

protected mixed $itemActions

$itemDatabase

protected mixed $itemDatabase

$itemDropAction

protected mixed $itemDropAction

$itemTemplate

protected mixed $itemTemplate

$stageActions

protected mixed $stageActions

$stageDropAction

protected mixed $stageDropAction

$stageHeight

protected mixed $stageHeight

$stageShortcuts

protected mixed $stageShortcuts

$templatePath

protected mixed $templatePath

$topScrollbar

protected mixed $topScrollbar

Methods

__construct()

Class Constructor

public __construct() : mixed

addItem()

Add item to stage

public addItem( $id,  $stage_id,  $title,  $content[,  $color = null ][,  $object = null ]) : mixed
Parameters
$id :

Item id

$stage_id :

Stage id

$title :

Item title

$content :

Item content

$color : = null

Item color

$object : = null

Item data object

addItemAction()

Add item action

public addItemAction( $label,  $action[,  $icon = NULL ][,  $display_condition = NULL ][,  $useButton = FALSE ]) : mixed
Parameters
$label :

Action label

$action :

Action callback (TAction)

$icon : = NULL

Action icon

$display_condition : = NULL

Display condition

$useButton : = FALSE

Action displat button

addStage()

Add stage to kanban board

public addStage( $id,  $title[,  $object = null ][,  $color = null ]) : mixed
Parameters
$id :

Stage id

$title :

Stage title

$object : = null

Stage data object

$color : = null

Stage color

addStageAction()

Add stage action

public addStageAction( $label,  $action[,  $icon = NULL ][, mixed $display_condition = NULL ]) : mixed
Parameters
$label :

Action label

$action :

Action callback (TAction)

$icon : = NULL

Action icon

$display_condition : mixed = NULL

addStageShortcut()

Add stage shortcut

public addStageShortcut( $label,  $action[,  $icon = NULL ]) : mixed
Parameters
$label :

Action label

$action :

Action callback (TAction)

$icon : = NULL

Action icon

enableTopScrollbar()

Enable Top Scrollbar

public enableTopScrollbar() : mixed

setItemDatabase()

Set item min database

public setItemDatabase( $database) : mixed
Parameters
$database :

min database

setItemDropAction()

Set item drop action

public setItemDropAction( $action) : mixed
Parameters
$action :

TAction object

setItemTemplate()

Set card item template for rendering

public setItemTemplate( $template) : mixed
Parameters
$template :

Template content

setStageDropAction()

Set stage drop action

public setStageDropAction( $action) : mixed
Parameters
$action :

TAction object

setStageHeight()

public setStageHeight(mixed $height) : mixed
Parameters
$height : mixed

setTemplatePath()

Set kanban item template for rendering

public setTemplatePath( $path) : mixed
Parameters
$path :

Template path

show()

Show kanban

public show() : mixed

renderItem()

Render item

private renderItem(mixed $item) : mixed
Parameters
$item : mixed

renderItemActions()

Render item actions

private renderItemActions(mixed $itemId[, mixed $object = NULL ]) : mixed
Parameters
$itemId : mixed
$object : mixed = NULL

renderStageActions()

Render stage actions

private renderStageActions(mixed $stage_id, mixed $stage) : mixed
Parameters
$stage_id : mixed
$stage : mixed

renderStageItems()

Render stage items

private renderStageItems(mixed $stage) : mixed
Parameters
$stage : mixed

renderStages()

Render stages

private renderStages() : mixed

renderStageShortcuts()

Render stage shortcuts

private renderStageShortcuts(mixed $stage) : mixed
Parameters
$stage : mixed

        
On this page

Search results