\MainWP\Dashboard\Module\CostTrackerCost_Tracker_Clients_Widget

Class MainWP_Time_Tracker_Tasks_Widget

Summary

Methods
Properties
Constants
instance()
__construct()
callback_render_costs_widget()
render_costs_tracker_widget_content()
column_default()
$instance
$clients_sites
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$instance

$instance : mixed

Public static variable to hold the single instance of class.

Type

mixed — Default null

$clients_sites

$clients_sites : mixed

Public static variable to hold the clients costs.

Type

mixed — Default array().

Methods

instance()

instance() 

Method instance().

Get instance class.

__construct()

__construct() : void

Constructor class.

callback_render_costs_widget()

callback_render_costs_widget() 

Method callback_render_tasks_client_page_widget().

Handle callback render tasks client page widget.

render_costs_tracker_widget_content()

render_costs_tracker_widget_content() 

Method render_tasks_client_page_widget_content().

column_default()

column_default(array  $item, string  $column_name, integer  $client_id) : string

Returns the column content for the provided item and column.

Parameters

array $item

Record data.

string $column_name

Column name.

integer $client_id

Client id.

Returns

string —

$out Output.