TaskListSection
in package
Task List section class.
Tags
Table of Contents
- $description : string
- Description.
- $id : string
- Title.
- $image : string
- Image.
- $task_names : array<string|int, mixed>
- Tasks.
- $title : string
- Title.
- $task_list : TaskList
- Parent task list.
- __construct() : mixed
- Constructor
- get_json() : array<string|int, mixed>
- Get the list for use in JSON.
- is_complete() : bool
- Returns if section is complete.
Properties
$description
Description.
public
string
$description
= ''
$id
Title.
public
string
$id
= ''
$image
Image.
public
string
$image
= ''
$task_names
Tasks.
public
array<string|int, mixed>
$task_names
= array()
$title
Title.
public
string
$title
= ''
$task_list
Parent task list.
protected
TaskList
$task_list
Methods
__construct()
Constructor
public
__construct([array<string|int, mixed> $data = array() ][, TaskList|null $task_list = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = array()
-
Task list data.
- $task_list : TaskList|null = null
-
Parent task list.
Return values
mixed —get_json()
Get the list for use in JSON.
public
get_json() : array<string|int, mixed>
Return values
array<string|int, mixed> —is_complete()
Returns if section is complete.
private
is_complete() : bool