XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
Module.class.php
1
<?php
10
11
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
12
exit();
13
}
14
15
class
Legacy_Module
extends
Legacy_ModuleAdapter
16
{
20
private
$mGetAdminMenu;
21
22
public
function
__construct(&$xoopsModule)
23
{
24
parent::__construct($xoopsModule);
25
$this->mGetAdminMenu =
new
XCube_Delegate
();
26
$this->mGetAdminMenu->register(
'Legacy_Module.getAdminMenu'
);
27
}
28
29
public
function
getAdminMenu
()
30
{
31
$menu = parent::getAdminMenu();
32
$this->mGetAdminMenu->call(
new
XCube_Ref
($menu));
33
34
ksort($menu);
35
36
return
$menu;
37
}
38
}
Legacy_ModuleAdapter
Used for adapting $xoopsModule to imitate XOOPS2 responses.
Definition
Legacy_Module.class.php:397
Legacy_Module
Definition
Module.class.php:16
Legacy_Module\getAdminMenu
getAdminMenu()
Gets an array having menus for the side menu of the control panel.
Definition
Module.class.php:29
XCube_Delegate
[Final] Used for the simple mechanism for common delegation in XCube.
Definition
XCube_Delegate.class.php:101
XCube_Ref
Definition
XCube_Delegate.class.php:32
html
modules
legacy
class
Module.class.php
Generated by
1.13.2