b2evolution

Multilingual multiuser multiblog engine

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

Class: sessions_Module

Source Location: /blogs/inc/sessions/_sessions.init.php

Class sessions_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_1()   Builds the 1st half of the menu. This is the one with the most important features
void   build_menu_3()   Builds the 3rd half of the menu. This is the one with the configuration features
void   check_perm()   Check global permissions for this module (not for specific object - those should be handled in the appropriate DataObject class)
void   init()   Do the initializations. Called from in _main.inc.php.

[ Top ]
Methods
build_evobar_menu  [line 104]

  void build_evobar_menu( )

Build the evobar menu



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

[ Top ]
build_menu_1  [line 168]

  void build_menu_1( )

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

[ Top ]
build_menu_3  [line 275]

  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_perm  [line 327]

  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

[ Top ]
init  [line 97]

  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:22:54 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).