\MainWP\Dashboard\Module\LogLog_Stats

Class - Log_Stats

Summary

Methods
Properties
Constants
__construct()
get_stats_data()
get_stats_count()
render_stats_duration_time()
render_stats_info()
render_stats_compare()
render_chart_series()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Class constructor.

get_stats_data()

get_stats_data(  $items) 

Get stats data.

@param array $items Logs items array.

Parameters

$items

get_stats_count()

get_stats_count(array  $data, string  $action) 

Render stats count.

Parameters

array $data

Stats data array.

string $action

Action name.

render_stats_duration_time()

render_stats_duration_time(array  $data, string  $action) 

Render stats duration time.

Parameters

array $data

Stats data array.

string $action

Action name.

render_stats_info()

render_stats_info(array  $data, string  $action, string  $title, array  $data_prev) 

Render stats column content.

Parameters

array $data

Data stats array.

string $action

Action name.

string $title

Action title.

array $data_prev

Data Stats previous array.

render_stats_compare()

render_stats_compare(integer  $count, integer  $prev_count) 

Render stats compare.

Parameters

integer $count

Count stats.

integer $prev_count

Count previous stats.

render_chart_series()

render_chart_series(array  $data, string  $action, string  $title, array  $data_prev) 

Method render_chart_series().

Parameters

array $data

Stats data.

string $action

Action.

string $title

Title.

array $data_prev

Stats previous data.