TaskTraits
TaskTraits class.
Table of Contents
- get_list_id() : string
- Get the task list ID.
- record_tracks_event() : string
- Record a tracks event with the prefixed event name.
Methods
get_list_id()
Get the task list ID.
public
get_list_id() : string
Return values
string —record_tracks_event()
Record a tracks event with the prefixed event name.
public
record_tracks_event(string $event_name[, array<string|int, mixed> $args = array() ]) : string
Parameters
- $event_name : string
-
Event name.
- $args : array<string|int, mixed> = array()
-
Array of tracks arguments.