Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Sun Mar 24 07:10:52 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8