Summary
- File
- Package hierarchy PHPBoost\Config
- Class hierarchy \AbstractConfigData \ModulesConfig
This class contains the cache data of the modules which module users having common criteria.
This class contains the cache data of the modules which module users having common criteria.
__construct()
Constructs a AbstractConfigData object
None found |
synchronize()
This method is not used in the configuration context.
{@inheritdoc}
None found |
set_default_values()
Redefine this method if you want to avoid getting errors while asking values.
If some entries doesn't exist, they can be created here.
None found |
get_property(string $name) : string
Reads a property's value.
string | $name | Name of the property to read |
the read value
None found |
set_property(string $name, string $value)
Sets a property value. If the property exists, it overrides its value, otherwise, it creates an entry for this property.
string | $name | Name of the property |
string | $value | Value of the property |
None found |
get_default_values() : \string[mixed]
Returns a map associating to each property name the corresponding default value
None found |
get_modules() : array
Returns the list of the modules
id_module => module properties (map)
None found |
get_module( $module_id) : \Module
Returns the requested module
$module_id | the id of the module |
the requested module
None found |
set_modules(array $modules)
Sets the modules list
array | $modules |
None found |
add_module(\Module $module)
Install a new module
\Module | $module |
None found |
remove_module(\Module $module)
\Module | $module |
None found |
remove_module_by_id( $module_id)
$module_id |
None found |
update(\Module $module)
\Module | $module |
None found |
load() : \ModulesConfig
Loads and returns the modules cached data.
The cached data
None found |
save()
Invalidates the current modules cached data.
None found |
get_default_value( $property)
$property |
None found |
$properties_map :
None found |
$modules_property :
None found |