Tkt_Common
in package
The TukuToi Common functionality.
Description
Define Common Constants, menus, version and scripts.
Tags
Table of Contents
- $common_actions : array<string|int, mixed>
- The TukuToi Actions Common to all TukuToi plugins
- $common_name : array<string|int, mixed>
- The TukuToi Common Name
- $common_version : array<string|int, mixed>
- The TukuToi Common Version
- $vendor_name : array<string|int, mixed>
- The Vendor Name
- $instance : bool
- Load only one instance of this class
- get_common_name() : mixed
- Get Common Name
- get_instance() : mixed
- Instantiate class
- load() : mixed
- Load Common Code
- __construct() : mixed
- Initialize the class and set its properties.
- define_loaded() : mixed
- Flag Common Code as loaded
Properties
$common_actions
The TukuToi Actions Common to all TukuToi plugins
protected
array<string|int, mixed>
$common_actions
Description
All actions used by TukuToi Plugins in common.
Tags
$common_name
The TukuToi Common Name
protected
array<string|int, mixed>
$common_name
Description
Defines Name of TukuToi Common loaded.
Tags
$common_version
The TukuToi Common Version
protected
array<string|int, mixed>
$common_version
Description
Defines version of common code loaded.
Tags
$vendor_name
The Vendor Name
protected
array<string|int, mixed>
$vendor_name
Description
Defines Vendor of the Company.
Tags
$instance
Load only one instance of this class
private
static bool
$instance
= \null
Description
Is class instantiated.
Tags
Methods
get_common_name()
Get Common Name
public
get_common_name() : mixed
Tags
Return
(mixed)get_instance()
Instantiate class
public
static get_instance() : mixed
Tags
Return
(mixed)load()
Load Common Code
public
load() : mixed
Tags
Return
(mixed)__construct()
Initialize the class and set its properties.
protected
__construct() : mixed
Tags
Return
(mixed)define_loaded()
Flag Common Code as loaded
private
define_loaded() : mixed