User_Login_History
in package
Site users login history display.
Applies to any person with login credentials.
Tags
Table of Contents
Constants
- HISTORY_CONTAINER = 'login-history.php'
- Login history container partial.
Properties
- $date_time : Date_Time
- The instance of the Date_Time class.
- $history_container : string
- The fully qualified path to the login history container.
- $instances : array<string|int, object>
- The array of instances of this class and sub-classes.
- $users : Users
- The instance of the common Users class.
Methods
- get_instance() : object
- Creates and/or returns the instance of this class.
- render() : void
- Render the user login history.
- __construct() : void
- Initialise the class and set its properties.
Constants
HISTORY_CONTAINER
Login history container partial.
protected
string
HISTORY_CONTAINER
= 'login-history.php'
Tags
Properties
$date_time
The instance of the Date_Time class.
protected
Date_Time
$date_time
Tags
$history_container
The fully qualified path to the login history container.
protected
string
$history_container
= ''
Tags
$instances
The array of instances of this class and sub-classes.
protected
static array<string|int, object>
$instances
= array()
Tags
$users
The instance of the common Users class.
protected
Users
$users
Tags
Methods
get_instance()
Creates and/or returns the instance of this class.
public
static get_instance() : object
Tags
Return values
object —The instance of this class.
render()
Render the user login history.
public
render() : void
Tags
__construct()
Initialise the class and set its properties.
protected
__construct() : void