SLP® phpDocs

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

$uses_myslp

public bool $uses_myslp

Set to true to add a $myslp property pointing to global $myslp

Methods

__construct()

public __construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
$options : array<string|int, mixed> = array()

__isset()

public __isset(string $property) : bool
Parameters
$property : string
Return values
bool

get_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
static

get_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
string

set_properties()

Set our properties.

public set_properties([array<string|int, mixed> $options = array() ]) : mixed
Parameters
$options : array<string|int, mixed> = array()

        
On this page

Search results