Module | +----ConfigModule
Located in File: Program_Root/config.mod.php
This module is used to dynamically insert modules that are needed for a specific form. There are 2 ways of including these modules: 1. AUTO_CONFIGURATION: all modules are scanned (.def.xml) for options that belong to a specific module. If the option is used in the form the module is loaded. The routine for this auto-configuration is pretty slow, so it is possible to turn it off in configfile.mod.php 2. options 'modules' Every module that is added to the modules-option, is loaded (multiple options can be seperated with :) )
Herman Suijs (<a href="mailto:php@suijsmail.com">php2.0bModules| Class Variable Summary |
$name
Name of the module Default Value:
|
$id
Id of the module Default Value:
|
$execlevel
Execution level of the module Default Value:
|
$modules
Variable to contain all modules that need to be loaded Default Value:
|
| Method Summary |
ConfigModule ( )
Constructor |
before_action ( )
Before action |
auto_config ( )
Routine for automatic loading of modules |
do_action ( )
Do action |
after_action ( )
After action |
| Variable Detail |
| Function Detail |
ConfigModule ( )
ConstructorCreate the options and call the superConstructor
before_action ( )
Before actionCheck all options, load in a configfile if necessary and set all options.
auto_config ( )
Routine for automatic loading of modulesWhen predefined options from an xml-configfile are here, then the module is added to the list of modules to be loaded in. Because the file xml.inc.php is quite large and may downgrade the performance of the whole script, you can turn of auto-configuration in the configfile.mod.php (must become xml config one day)
do_action ( )
Do actionAll modules that were selected will be loaded in
after_action ( )
After actionCleanup