SLP® phpDocs

SLP_Experience_Options extends SLP_AddOn_Options
in package

SmartOptions for the Experience add on.

Table of Contents

Properties

$addon  : object
$initialized  : bool
$myslp  : MySLP
$our_options  : array<string|int, string>
$slplus  : SLPlus
$uses_myslp  : bool
$uses_slplus  : bool
$slug  : 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.
initialize()  : mixed
Things we do at the start.
set_properties()  : mixed
Set our properties.
attach_to_slp()  : mixed
Go and create the smart options.
create_options()  : mixed
Create our options.
general_ui_url_controls()  : mixed
General / User Interface / URL Controls
map_appearance()  : mixed
Settings | Map | Appearance
map_startup()  : mixed
Settings | Map | Startup
results_appearance()  : mixed
Settings | Results | appearance
results_interaction()  : mixed
Settings | Results | Interaction
results_labels()  : mixed
Results / Labels
search_appearance()  : mixed
Search / Appearance
search_functionality()  : mixed
Search / Functionality
search_labels()  : mixed
Search / Labels

Properties

$initialized read-only

public bool $initialized

Have our options been initialized

$our_options

public array<string|int, string> $our_options

The slugs for options that this add on manipulates

$uses_myslp

public bool $uses_myslp

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

$uses_slplus

public bool $uses_slplus

Set to true (default) if the object needs access to the SLPlus plugin object.

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

set_properties()

Set our properties.

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

attach_to_slp()

Go and create the smart options.

protected attach_to_slp(array<string|int, mixed> $these_options[, array<string|int, mixed> $defaults = array() ]) : mixed
Parameters
$these_options : array<string|int, mixed>
$defaults : array<string|int, mixed> = array()

general_ui_url_controls()

General / User Interface / URL Controls

private general_ui_url_controls() : mixed

        
On this page

Search results