CaMykS  1.0-20181201
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
PluginConfigItem Class Reference

Public Member Functions

 __construct ($name, $type, $default=null)
 
 initialise ()
 
 check_value ($value)
 
 get_fromHeader ()
 
 get_default ()
 
 update_type ($value)
 

Public Attributes

 $_name
 Item name. More...
 
 $_type
 Item type. More...
 

Private Attributes

 $_default
 Item default value. More...
 

Detailed Description

PushNotification class.

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Constructor & Destructor Documentation

PluginConfigItem::__construct (   $name,
  $type,
  $default = null 
)

Class constructor.

Parameters
string$name
string$type
mixed$default
Returns
void

Member Function Documentation

PluginConfigItem::check_value (   $value)

Return checked value case of object type.

Parameters
mixed$value
Returns
mixed
PluginConfigItem::get_default ( )

Load default value case of object type

Returns
mixed
PluginConfigItem::get_fromHeader ( )

Load object value from header.

Returns
mixed
PluginConfigItem::initialise ( )

Initialise object with default value.

Returns
void
PluginConfigItem::update_type (   $value)

Update value type

Parameters
mixed$value
Returns
mixed

Member Data Documentation

string PluginConfigItem::$_default
private

Item default value.

string PluginConfigItem::$_name

Item name.

string PluginConfigItem::$_type

Item type.


The documentation for this class was generated from the following file: