BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Hook\BSEntityConfigDefaults Class Reference
Inheritance diagram for BlueSpice\Hook\BSEntityConfigDefaults:
Collaboration diagram for BlueSpice\Hook\BSEntityConfigDefaults:

Public Member Functions

 __construct ($context, $config, &$defaultSettings)
 
- Public Member Functions inherited from BlueSpice\Hook
 __construct ($context, $config)
 
 process ()
 

Static Public Member Functions

static callback (&$defaultSettings)
 

Protected Attributes

 $defaultSettings = null
 

Additional Inherited Members

- Protected Member Functions inherited from BlueSpice\Hook
 getContext ()
 
 getConfig ()
 
 getServices ()
 
 doProcess ()
 
 skipProcessing ()
 
- Static Protected Attributes inherited from BlueSpice\Hook
static $configName = 'bsg'
 

Detailed Description

Deprecated:
since version 3.0.0 - Use the bluespice global config mechanism instead

Constructor & Destructor Documentation

BlueSpice\Hook\BSEntityConfigDefaults::__construct (   $context,
  $config,
$defaultSettings 
)
Parameters
\IContextSource$context
\Config$config
array$defaultSettings

Member Function Documentation

static BlueSpice\Hook\BSEntityConfigDefaults::callback ( $defaultSettings)
static

Located in ::factory. After all instances of EntityConfig's have been created. A default setting will be returned, when a EntityConfig does not have a method get_<settingsKey>

Deprecated:
since version 3.0.0 - Use the bluespice global config mechanism instead
Parameters
array$defaultSettings
Returns
boolean

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