Config
in package
YetiForce register class.
Table of Contents
- TABLE_NAME = 's_#__reg_data'
- CACHE_NAME = 'YetiForce:config'
- $data : array<string|int, mixed>
- __construct() : mixed
- Constructor
- getData() : array<string|int, mixed>
- Get data.
- getToken() : string
- Get token.
- setToken() : bool
- Set Token.
Constants
TABLE_NAME
public
string
TABLE_NAME
= 's_#__reg_data'
URL
CACHE_NAME
private
mixed
CACHE_NAME
= 'YetiForce:config'
Properties
$data
private
array<string|int, mixed>
$data
= []
Data
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —getData()
Get data.
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getToken()
Get token.
public
getToken() : string
Return values
string —setToken()
Set Token.
public
setToken(string $token) : bool
Parameters
- $token : string