WC_Admin_Dashboard_Setup
in package
WC_Admin_Dashboard_Setup Class.
Table of Contents
- $completed_tasks_count : int
- # of completed tasks.
- $initalized : mixed
- Check for task list initialization.
- $task_list : mixed
- The task list.
- $tasks : mixed
- The tasks.
- __construct() : mixed
- WC_Admin_Dashboard_Setup constructor.
- get_button_link() : string
- Get the button link for a given task.
- get_completed_tasks_count() : int
- Return # of completed tasks
- get_task_list() : array<string|int, mixed>
- Get the task list.
- get_tasks() : array<string|int, mixed>
- Get the tasks.
- render() : mixed
- Render meta box output.
- set_task_list() : mixed
- Set the task list.
- should_display_widget() : bool
- Check to see if we should display the widget
- get_next_task() : array<string|int, mixed>|null
- Get the next task.
Properties
$completed_tasks_count
# of completed tasks.
private
int
$completed_tasks_count
= 0
$initalized
Check for task list initialization.
private
mixed
$initalized
= alse
$task_list
The task list.
private
mixed
$task_list
=
ull
$tasks
The tasks.
private
mixed
$tasks
=
ull
Methods
__construct()
WC_Admin_Dashboard_Setup constructor.
public
__construct() : mixed
Return values
mixed —get_button_link()
Get the button link for a given task.
public
get_button_link(Task $task) : string
Parameters
- $task : Task
-
Task.
Return values
string —get_completed_tasks_count()
Return # of completed tasks
public
get_completed_tasks_count() : int
Return values
int —get_task_list()
Get the task list.
public
get_task_list() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_tasks()
Get the tasks.
public
get_tasks() : array<string|int, mixed>
Return values
array<string|int, mixed> —render()
Render meta box output.
public
render() : mixed
Return values
mixed —set_task_list()
Set the task list.
public
set_task_list(mixed $task_list) : mixed
Parameters
- $task_list : mixed
Return values
mixed —should_display_widget()
Check to see if we should display the widget
public
should_display_widget() : bool
Return values
bool —get_next_task()
Get the next task.
private
get_next_task() : array<string|int, mixed>|null