Builds the 1st half of the menu. This is the one with the most important features
Redefinition of:
- Module::build_menu_1()
- Builds the 1st half of the menu. This is the one with the most important features
Builds the 3rd half of the menu. This is the one with the configuration features
At some point this might be displayed differently than the 1st half.
Redefinition of:
- Module::build_menu_3()
- Builds the 3rd half of the menu. This is the one with the configuration features
void check_perm(
[mixed
$action = 'view'], [mixed
$assert = true]
)
|
|
Check global permissions for this module (not for specific object - those should be handled in the appropriate DataObject class)
Parameters:
|
mixed |
$action: |
|
|
mixed |
$assert: |
|
Information Tags:
| Todo: | fp> break up central User::check_perm() so that add-on modules do not need to add code into User class. |
Redefinition of:
- Module::check_perm()
- Check module permission
Do the initializations. Called from in _main.inc.php.
This is typically where classes matching DB tables for this module are registered/loaded.
Note: this should only load/register things that are going to be needed application wide, for example: for constructing menus. Anything that is needed only in a specific controller should be loaded only there. Anything that is needed only in a specific view should be loaded only there.
Redefinition of:
- Module::init()
- Do the initializations. Called from in _main.inc.php.