Bristol SU Support Package
Public Member Functions | Protected Attributes | List of all members
BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting Class Reference
Inheritance diagram for BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting:
Collaboration graph
[legend]

Public Member Functions

 moduleInstance ()
 
 setValueAttribute ($value)
 
 getValueAttribute ()
 
- Public Member Functions inherited from BristolSU\Support\Revision\HasRevisions
 initializeHasRevisions ()
 
 getSystemUserId ()
 

Protected Attributes

 $fillable
 
- Protected Attributes inherited from BristolSU\Support\Revision\HasRevisions
 $historyLimit
 
 $revisionCleanup
 

Detailed Description

Represents a setting value associated with a module instance

Definition at line 12 of file ModuleInstanceSetting.php.

Member Function Documentation

◆ getValueAttribute()

BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting::getValueAttribute ( )

Dynamically decode the value of the setting if json

Returns
mixed

Definition at line 54 of file ModuleInstanceSetting.php.

◆ moduleInstance()

BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting::moduleInstance ( )

Module instance relationship

Returns

Definition at line 29 of file ModuleInstanceSetting.php.

◆ setValueAttribute()

BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting::setValueAttribute (   $value)

Dynamically encode the value of the setting if an array

Parameters
mixed$value

Definition at line 39 of file ModuleInstanceSetting.php.

Member Data Documentation

◆ $fillable

BristolSU\Support\ModuleInstance\Settings\ModuleInstanceSetting::$fillable
protected
Initial value:
= [
'key', 'value', 'module_instance_id', 'encoded'
]

Definition at line 20 of file ModuleInstanceSetting.php.


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