ContentSubscribe
in package
Table of Contents
Methods
- subscribe() : mixed
- Subscribe a user to a specified handler.
- tsSort() : mixed
- Called by a usort() in the cronjob to sort by the timestamp field
Methods
subscribe()
Subscribe a user to a specified handler.
public
static subscribe(string $handler_class, array<string|int, mixed> $handler_settings, string $name, string $email) : mixed
Parameters
- $handler_class : string
-
The name of the handler class
- $handler_settings : array<string|int, mixed>
-
The settings to be passed to the handler; can be an empty array
- $name : string
-
The name of the user
- $email : string
-
The email address of the user
tsSort()
Called by a usort() in the cronjob to sort by the timestamp field
public
static tsSort(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed