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
boolean check_messaging_group_perm(
string
$permlevel, string
$permvalue, mixed
$permtarget
)
|
|
Check a permission for the group. ( see 'group_func' in get_available_group_permissions() function )
Parameters:
|
string |
$permlevel: |
Requested permission level |
|
string |
$permvalue: |
Permission value |
|
mixed |
$permtarget: |
Permission target (blog ID, array of cat IDs...) |
API Tags:
| Return: | True on success (permission is granted), false if permission is not granted |
boolean check_messaging_user_perm(
string
$permlevel, string
$permvalue, mixed
$permtarget
)
|
|
Check a permission for the user. ( see 'user_func' in get_available_group_permissions() function )
Parameters:
|
string |
$permlevel: |
Requested permission level |
|
string |
$permvalue: |
Permission value |
|
mixed |
$permtarget: |
Permission target (blog ID, array of cat IDs...) |
API Tags:
| Return: | True on success (permission is granted), false if permission is not granted |
array get_available_group_permissions(
)
|
|
Get available group permissions
array get_default_group_permissions(
$grp_ID
)
|
|
Get default module permissions
#param integer Group ID
Parameters:
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.