Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TKanban

Description

Kanban

Located in /widget/util/TKanban.php (line 25)

TElement
   |
   --TKanban
Variable Summary
Method Summary
addItem ($id, $stage_id, $title, $content, [$color = null], [$object = null])
addItemAction ($label, $action, [$icon = NULL], [$display_condition = NULL])
addStage ($id, $title, [$object = null], [$color = null])
addStageAction ($label, $action, [$icon = NULL], [$display_condition = NULL])
addStageShortcut ($label, $action, [$icon = NULL])
setItemDatabase ($database)
setItemDropAction ($action)
setItemTemplate ($template)
setStageDropAction ($action)
setTemplatePath ($path)
show ()
Variables
mixed $itemActions (line 30)
  • access: protected
mixed $itemDatabase (line 37)
  • access: protected
mixed $itemDropAction (line 33)
  • access: protected
mixed $items (line 28)
  • access: protected
mixed $itemTemplate (line 36)
  • access: protected
mixed $kanban (line 27)
  • access: protected
mixed $stageActions (line 31)
  • access: protected
mixed $stageDropAction (line 34)
  • access: protected
mixed $stages (line 29)
  • access: protected
mixed $stageShortcuts (line 32)
  • access: protected
mixed $templatePath (line 35)
  • access: protected

Inherited Variables

Inherited from TElement

TElement::$children
Methods
Constructor __construct (line 42)

Class Constructor

  • access: public
__construct ()

Redefinition of:
TElement::__construct()
Class Constructor
addItem (line 89)

Add item to stage

  • access: public
addItem ($id, $stage_id, $title, $content, [$color = null], [$object = null])
  • $id: Item id
  • $stage_id: Stage id
  • $title: Item title
  • $content: Item content
  • $color: Item color
  • $object: Item data object
addItemAction (line 182)

Add item action

  • access: public
addItemAction ($label, $action, [$icon = NULL], [$display_condition = NULL])
  • $label: Action label
  • $action: Action callback (TAction)
  • $icon: Action icon
  • $display_condition: Display condition
addStage (line 64)

Add stage to kanban board

  • access: public
addStage ($id, $title, [$object = null], [$color = null])
  • $id: Stage id
  • $title: Stage title
  • $object: Stage color
  • $color: Stage data object
addStageAction (line 199)

Add stage action

  • access: public
addStageAction ($label, $action, [$icon = NULL], [$display_condition = NULL])
  • $label: Action label
  • $action: Action callback (TAction)
  • $icon: Action icon
  • $display_condition
addStageShortcut (line 216)

Add stage shortcut

  • access: public
addStageShortcut ($label, $action, [$icon = NULL])
  • $label: Action label
  • $action: Action callback (TAction)
  • $icon: Action icon
setItemDatabase (line 136)

Set item min database

  • access: public
setItemDatabase ($database)
  • $database: min database
setItemDropAction (line 145)

Set item drop action

  • access: public
setItemDropAction ($action)
  • $action: TAction object
setItemTemplate (line 127)

Set card item template for rendering

  • access: public
setItemTemplate ($template)
  • $template: Template content
setStageDropAction (line 162)

Set stage drop action

  • access: public
setStageDropAction ($action)
  • $action: TAction object
setTemplatePath (line 118)

Set kanban item template for rendering

  • access: public
setTemplatePath ($path)
  • $path: Template path
show (line 454)

Show kanban

  • access: public
show ()

Redefinition of:
TElement::show()
Shows the tag

Inherited Methods

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::after()
TElement::clearChildren()
TElement::close()
TElement::closeTag()
TElement::del()
TElement::find()
TElement::get()
TElement::getAfterElement()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::hide()
TElement::insert()
TElement::open()
TElement::openTag()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperties()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()