SLP_Premier_Options
extends SLP_AddOn_Options
in package
Class SLP_Premier_Options
The options management for the premier add on
Tags
Table of Contents
Properties
- $addon : object
- $initialized : bool
- $myslp : MySLP
- $our_options : array<string|int, string>
- $slplus : SLPlus
- $slug : mixed
- $uses_myslp : bool
- $uses_slplus : bool
- $subscription_is_valid : mixed
Methods
- __construct() : mixed
- __get() : SLPlus_BaseClass_Object
- __isset() : bool
- fix_form_action() : string|array<string|int, string>|null
- Fix up the action in the form when embedded in another page.
- get_instance() : static
- Return an instance of the object which is also registered to the slplus global less the SLP_ part.
- get_no_results_message() : string
- Modify the no results message output.
- initialize() : mixed
- Things we do at the start.
- register_cron_hooks() : mixed
- Register cron hooks.
- schedule_changes() : mixed
- Process schedule changes.
- set_boundary_influence_lat_lng() : mixed
- Set the boundary influence to a border around all locations.
- set_properties() : mixed
- Set our properties.
- toggle_option() : mixed
- Toggle options on and off.
- attach_to_slp() : mixed
- Go and create the smart options.
- create_options() : mixed
- Create our options.
- augment_settings_search_functionality() : mixed
- Settings / Search / Functionality
- create_general_schedule_options() : mixed
- General / Schedule / Tasks
- general_server_security() : mixed
- General / App / Security
- general_server_web_app_settings() : mixed
- General / App / Features
- general_ui_url_control() : mixed
- General / User Interface / URL Controls
- map_appearance() : mixed
- Map | Appearance
- map_functionality() : mixed
- Map > Functionality
- map_markers() : mixed
- Map > Markers
- results_appearance() : mixed
- Results | Appearance
- results_appearance_no_results() : mixed
- Results | Appearance | No results
- results_interaction() : mixed
- Results | Interaction
- results_labels() : mixed
- Results | Labels
- search_appearance() : mixed
- Search | Appearance
- search_appearance_search_form_style() : mixed
- Search | Appearance | Search Form Style
- search_labels() : mixed
- Search | Labels
Properties
$addon
public
object
$addon
$initialized read-only
public
bool
$initialized
Have our options been initialized
$myslp
public
MySLP
$myslp
$our_options
public
array<string|int, string>
$our_options
The slugs for options that this add on manipulates
$slplus
public
SLPlus
$slplus
$slug
public
mixed
$slug
= 'slp-premier'
$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.
$subscription_is_valid
private
mixed
$subscription_is_valid
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
boolfix_form_action()
Fix up the action in the form when embedded in another page.
public
fix_form_action(mixed $form_string, mixed $form) : string|array<string|int, string>|null
Parameters
- $form_string : mixed
- $form : mixed
Return values
string|array<string|int, string>|nullget_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_no_results_message()
Modify the no results message output.
public
get_no_results_message(mixed $value) : string
Parameters
- $value : mixed
Tags
Return values
stringinitialize()
Things we do at the start.
public
initialize() : mixed
register_cron_hooks()
Register cron hooks.
public
register_cron_hooks(string $slug) : mixed
Parameters
- $slug : string
-
the property "name"
Tags
schedule_changes()
Process schedule changes.
public
schedule_changes(string $slug, string $old_value, string $new_value) : mixed
Parameters
- $slug : string
-
the property "name"
- $old_value : string
- $new_value : string
set_boundary_influence_lat_lng()
Set the boundary influence to a border around all locations.
public
set_boundary_influence_lat_lng(mixed $key, mixed $old_value, mixed $new_value) : mixed
Parameters
- $key : mixed
- $old_value : mixed
- $new_value : mixed
set_properties()
Set our properties.
public
set_properties([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
toggle_option()
Toggle options on and off.
public
toggle_option(mixed $key, mixed $original, mixed $new) : mixed
Parameters
- $key : mixed
- $original : mixed
- $new : mixed
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()
create_options()
Create our options.
protected
create_options() : mixed
augment_settings_search_functionality()
Settings / Search / Functionality
private
augment_settings_search_functionality() : mixed
create_general_schedule_options()
General / Schedule / Tasks
private
create_general_schedule_options() : mixed
Tags
general_server_security()
General / App / Security
private
general_server_security() : mixed
general_server_web_app_settings()
General / App / Features
private
general_server_web_app_settings() : mixed
general_ui_url_control()
General / User Interface / URL Controls
private
general_ui_url_control() : mixed
map_appearance()
Map | Appearance
private
map_appearance() : mixed
map_functionality()
Map > Functionality
private
map_functionality() : mixed
map_markers()
Map > Markers
private
map_markers() : mixed
results_appearance()
Results | Appearance
private
results_appearance() : mixed
results_appearance_no_results()
Results | Appearance | No results
private
results_appearance_no_results() : mixed
Tags
results_interaction()
Results | Interaction
private
results_interaction() : mixed
results_labels()
Results | Labels
private
results_labels() : mixed
search_appearance()
Search | Appearance
private
search_appearance() : mixed
search_appearance_search_form_style()
Search | Appearance | Search Form Style
private
search_appearance_search_form_style() : mixed
search_labels()
Search | Labels
private
search_labels() : mixed