SLP_Base_Object
in package
Class SLP_Base_Object
New Base Object with singleton support. The model on which all new SLP classes should be based.
Table of Contents
Methods
- __construct() : mixed
- SLP_Base_Object constructor.
- get_instance() : SLPlus_BaseClass_Object
- Return an instance of the object which is also registered to the slplus global less the SLP_ part.
- set_properties() : mixed
- Set our properties.
- initialize() : mixed
- Do these things when this object is invoked. Override in your class.
Methods
__construct()
SLP_Base_Object constructor.
public
__construct([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
get_instance()
Return an instance of the object which is also registered to the slplus global less the SLP_ part.
public
static get_instance([mixed $options = array() ]) : SLPlus_BaseClass_Object
Parameters
- $options : mixed = array()
-
object init params
Return values
SLPlus_BaseClass_Objectset_properties()
Set our properties.
public
set_properties([array<string|int, mixed> $options = array() ]) : mixed
Parameters
- $options : array<string|int, mixed> = array()
initialize()
Do these things when this object is invoked. Override in your class.
protected
initialize() : mixed