SLP_Admin_Settings_Text
extends SLPlus_BaseClass_Object
in package
Class SLP_Admin_Settings_Text
Table of Contents
Properties
- $addon : object
- $myslp : MySLP
- $slplus : SLPlus
- $uses_myslp : bool
- $uses_slplus : mixed
- $slug : mixed
- $text_strings : mixed
Methods
- __construct() : mixed
- __get() : SLPlus_BaseClass_Object
- __isset() : bool
- get_instance() : static
- Return an instance of the object which is also registered to the slplus global less the SLP_ part.
- get_text_string() : string
- Set the strings we need on the admin panel.
- initialize() : mixed
- Things we do at the start.
- set_properties() : mixed
- Set our properties.
- set_text_strings() : mixed
- Set our text strings.
Properties
$addon
public
object
$addon
$myslp
public
MySLP
$myslp
$slplus
public
SLPlus
$slplus
$uses_myslp
public
bool
$uses_myslp
Set to true to add a $myslp property pointing to global $myslp
$uses_slplus
public
mixed
$uses_slplus
= \false
$slug
protected
mixed
$slug
$text_strings
private
mixed
$text_strings
Methods
__construct()
public
__construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
__get()
public
__get(string $property) : SLPlus_BaseClass_Object
Parameters
- $property : string
Return values
SLPlus_BaseClass_Object__isset()
public
__isset(string $property) : bool
Parameters
- $property : string
Return values
boolget_instance()
Return an instance of the object which is also registered to the slplus global less the SLP_ part.
public
static get_instance([bool $no_global = false ][, mixed $params = array() ]) : static
Parameters
- $no_global : bool = false
-
set to true to skip assigning object to SLP global as a property.
- $params : mixed = array()
-
object init params
Return values
staticget_text_string()
Set the strings we need on the admin panel.
public
get_text_string(string $text, array<string|int, string> $slug) : string
Parameters
- $text : string
- $slug : array<string|int, string>
Return values
stringinitialize()
Things we do at the start.
public
initialize() : mixed
set_properties()
Set our properties.
public
set_properties([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
set_text_strings()
Set our text strings.
private
set_text_strings() : mixed