Class

ModulesConfig

Package: PHPBoost\Config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2016 06 21 Since: PHPBoost 3.0 - 2009 12 12 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: phpboost/config/ModulesConfig.class.php

This class contains the cache data of the modules which module users having common criteria.

AbstractConfigData implements ConfigData
Extended by ModulesConfig
Methods summary
public string[mixed]
# get_default_values( )

Returns a map associating to each property name the corresponding default value

public array
# get_modules( )

Returns the list of the modules

public Module
# get_module( $module_id )

Returns the requested module

public
# set_modules( array $modules )

Sets the modules list

public
# add_module( Module $module )

Install a new module

public
# remove_module( Module $module )
public
# remove_module_by_id( $module_id )
public
# update( Module $module )
public static ModulesConfig
# load( )

Loads and returns the modules cached data.

public static
# save( )

Invalidates the current modules cached data.