Methods summary
public
array
|
#
getSubtasks( string $entity, array $attributes = [] )
Show all the subtasks in a list or task.
Show all the subtasks in a list or task.
Parameters
- $entity
- A list or a task.
- $attributes
Returns
array
|
public
array
|
#
getSubtask( integer $subtaskId )
Show a subtask by id.
Parameters
- $subtaskId
- The id of the subtask.
Returns
array
|
public
array
|
#
createSubtask( array $attributes = [] )
Create a new subtask of a task.
Create a new subtask of a task.
Parameters
Returns
array
|
public
array
|
#
updateSubtask( integer $subtaskId, array $attributes = [] )
Update a subtask.
Parameters
- $subtaskId
- The id of the subtask.
- $attributes
Returns
array
|
public
integer
|
#
deleteSubtask( integer $subtaskId )
Delete a subtask.
Parameters
- $subtaskId
- The id of the subtask.
Returns
integer
|