| [ Index ] |
PHP Cross Reference of phpBB 3.0 Beta 3 |
[Source view] [Print]
(no description)
| Copyright: | (c) 2005 phpBB Group |
| License: | http://opensource.org/licenses/gpl-license.php GNU Public License |
| Version: | $Id: functions_module.php,v 1.39 2006/10/19 13:54:47 acydburn Exp $ |
| File Size: | 656 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
p_master:: (13 methods):
list_modules()
module_auth()
set_active()
load_active()
get_parents()
get_branch()
build_tree()
assign_tpl_vars()
get_tpl_name()
get_page_title()
load()
display()
set_display()
| list_modules($p_class) X-Ref |
| List modules This creates a list, stored in $this->module_ary of all available modules for the given class (ucp, mcp and acp). Additionally $this->module_y_ary is created with indentation information for displaying the module list appropriately. Only modules for which the user has access rights are included in these lists. |
| module_auth($module_auth) X-Ref |
| Check module authorisation |
| set_active($id = false, $mode = false) X-Ref |
| Set active module |
| load_active($mode = false, $module_url = false, $execute_module = true) X-Ref |
| Loads currently active module This method loads a given module, passing it the relevant id and mode. |
| get_parents($parent_id, $left_id, $right_id, &$all_parents) X-Ref |
| Get parents |
| get_branch($left_id, $right_id, $remaining) X-Ref |
| Get tree branch |
| build_tree(&$modules, &$parents) X-Ref |
| Build true binary tree from given array Not in use |
| assign_tpl_vars($module_url) X-Ref |
| Build navigation structure |
| get_tpl_name() X-Ref |
| Returns desired template name |
| get_page_title() X-Ref |
| Returns the desired page title |
| load($class, $name, $mode = false) X-Ref |
| Load module as the current active one without the need for registering it |
| display($page_title, $display_online_list = true) X-Ref |
| Display module |
| set_display($id, $mode = false, $display = true) X-Ref |
| Toggle whether this module will be displayed or not |
| Generated: Wed Nov 22 00:35:05 2006 | Cross-referenced by PHPXref 0.6 |