b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: messaging ] [ index: messaging ] [ all elements ]

Class: messaging_Module

Source Location: /blogs/inc/messaging/_messaging.init.php

Class messaging_Module

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Module

Module::build_evobar_menu()
Build teh evobar menu
Module::build_menu_1()
Builds the 1st half of the menu. This is the one with the most important features
Module::build_menu_2()
Builds the 2nd half of the menu. This is the one with the configuration features
Module::build_menu_3()
Builds the 3rd half of the menu. This is the one with the configuration features
Module::check_perm()
Check module permission
Module::init()
Do the initializations. Called from in _main.inc.php.
Module::SkinEndHtmlBody()
could be used e.g. by a google_analytics plugin to add the javascript snippet

[ Top ]
Method Summary
void   build_evobar_menu()   Build the evobar menu
void   build_menu_3()   Builds the 3rd half of the menu. This is the one with the configuration features
boolean   check_messaging_group_perm()   Check a permission for the group. ( see 'group_func' in get_available_group_permissions() function )
boolean   check_messaging_user_perm()   Check a permission for the user. ( see 'user_func' in get_available_group_permissions() function )
array   get_available_group_permissions()   Get available group permissions
array   get_default_group_permissions()   Get default module permissions
void   init()   Do the initializations. Called from in _main.inc.php.

[ Top ]
Methods
build_evobar_menu  [line 250]

  void build_evobar_menu( )

Build the evobar menu



Redefinition of:
Module::build_evobar_menu()
Build teh evobar menu

[ Top ]
build_menu_3  [line 297]

  void build_menu_3( )

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

[ Top ]
check_messaging_group_perm  [line 210]

  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


[ Top ]
check_messaging_user_perm  [line 183]

  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


[ Top ]
get_available_group_permissions  [line 150]

  array get_available_group_permissions( )

Get available group permissions



[ Top ]
get_default_group_permissions  [line 121]

  array get_default_group_permissions( $grp_ID  )

Get default module permissions

#param integer Group ID

Parameters:
   $grp_ID: 


[ Top ]
init  [line 109]

  void init( )

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.

[ Top ]

Documentation generated on Sat, 06 Mar 2010 04:19:16 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).