KanbanItem Class Reference

Inheritance diagram for KanbanItem:
RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static canSaveMetadata ()
static getDefaultMetadata ()
static isTypeDeletable ()
static getTypeDropDownArray ()
static getTypeDisplayName ($type)
static getByTask ($taskId)
static getMaximumSortOrderByType ($taskType, Item $childObjectOfItem)
static getAllTasksByType ($taskType, Item $childObjectOfItem)

Data Fields

const TYPE_SOMEDAY = 1
const TYPE_TODO = 2
const TYPE_IN_PROGRESS = 3
const TYPE_COMPLETED = 4

Static Protected Member Functions

static translatedAttributeLabels ($language)

Detailed Description

Definition at line 37 of file KanbanItem.php.


Member Function Documentation

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 53 of file KanbanItem.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 72 of file KanbanItem.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from RedBeanModel.

Definition at line 80 of file KanbanItem.php.

static translatedAttributeLabels ( language  )  [static, protected]
Returns:
array

Reimplemented from BeanModel.

Definition at line 112 of file KanbanItem.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 127 of file KanbanItem.php.

static getTypeDropDownArray (  )  [static]
Returns:
array of type values and labels

Definition at line 135 of file KanbanItem.php.

static getTypeDisplayName ( type  )  [static]

Gets the display name for the type

Parameters:
int $type

Definition at line 149 of file KanbanItem.php.

static getByTask ( taskId  )  [static]

Get the kanban item by task

Parameters:
int $taskId
Returns:
integer

Definition at line 160 of file KanbanItem.php.

static getMaximumSortOrderByType ( taskType,
Item childObjectOfItem 
) [static]

Get maximum sort order by type

Parameters:
int $taskType
Item $childObjectOfItem it could be project or account or contact
Returns:
int

Definition at line 195 of file KanbanItem.php.

static getAllTasksByType ( taskType,
Item childObjectOfItem 
) [static]

Get all tasks by kanban type

Parameters:
int $taskType
Item $childObjectOfItem
Returns:
array of objects

Definition at line 214 of file KanbanItem.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Dec 15 07:10:26 2017