Method |
Description |
|
display_event_cron_arguments ( mixed $args ) : void |
Displays the cron arguments in a readable format. |
|
display_event_hook ( string $hook, integer $arg_set_count ) |
Display the name of the cron job event hook. |
|
display_event_intervals ( array $info ) |
Displays the event interval in seconds, minutes and hours. |
|
display_event_schedule ( array $info ) |
Displays the the event schedule name for recurring events or else 'single event'. |
|
display_event_time ( integer $time, integer $event_count ) |
Display the timing for the event as a date, timestamp and human readable time difference. |
|
display_events ( array $events, string $no_events_msg ) |
Displays the events in an easy to read table. |
|
display_past_time ( string $human_time, integer $time ) : string |
Compares time with current time and adds ' ago' if current time is greater than event time. |
|
display_schedules ( ) : void |
Displays all of the schedules defined. |
|
get_arg_set_count ( array $hook_array ) : integer |
Count the number of argument sets for a cron time. |
|
get_crons ( ) : array | null |
Gets all of the cron jobs. |
|
get_event_row_attributes ( integer $time, string $hook ) : string |
Create a HTML attribute string for an event row. |
|
get_hours ( integer $time ) : float |
Transform a time in seconds to hours rounded to 2 decimals. |
|
get_minutes ( integer $time ) : float |
Transform a time in seconds to minutes rounded to 2 decimals. |
|
is_time_in_past ( integer $time ) : boolean |
Verify if a given timestamp is in the past or the future. |
|
load_debug_bar_pretty_output ( ) |
Load the pretty output class & set the recursion limit. |
|
print_pretty_output ( mixed $variable ) |
Print any type of variable with colour coding and a variable type indication. |
|
reset_debug_bar_pretty_output ( ) |
Unset recursion depth limit for the pretty output class. |
|
schedules_sorting ( array $schedule_a, array $schedule_b ) : integer |
Sorting method for cron schedules. Order by schedules interval. |
|
sort_count_crons ( ) |
Sort and count crons. |
|