XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct (&$controller) | |
_setupFilterChain () | |
setupModuleContext (&$context, $dirname) | |
setupBlock () | |
_processPreBlockFilter () | |
& | getVirtualCurrentModule () |
& | getMainThemeObject () |
isEnableCacheFeature () | |
enableAccess () | |
setupModuleLanguage () | |
Data Fields | |
$mStatusFlag = LEGACY_CONTROLLER_STATE_ADMIN | |
$mSetupBlock = null | |
$_mSpecialActions = ['Help', 'CommentList'] | |
![]() | |
$mController = null | |
$mStatusFlag | |
array | $_mLoadedFilterNames = [] |
Definition at line 19 of file Legacy_AdminControllerStrategy.class.php.
__construct | ( | & | $controller | ) |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 37 of file Legacy_AdminControllerStrategy.class.php.
_processPreBlockFilter | ( | ) |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 98 of file Legacy_AdminControllerStrategy.class.php.
_setupFilterChain | ( | ) |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 63 of file Legacy_AdminControllerStrategy.class.php.
enableAccess | ( | ) |
Gets a value indicating whether the current user can access to the current module.
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 153 of file Legacy_AdminControllerStrategy.class.php.
& getMainThemeObject | ( | ) |
Definition at line 134 of file Legacy_AdminControllerStrategy.class.php.
& getVirtualCurrentModule | ( | ) |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 104 of file Legacy_AdminControllerStrategy.class.php.
isEnableCacheFeature | ( | ) |
Gets a value indicating whether the controller can use a cache mechanism.
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 148 of file Legacy_AdminControllerStrategy.class.php.
setupBlock | ( | ) |
Render Admin blocks directly without AdminDashboard settings Blocks : ActionSearch and Admin SideMenu
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 88 of file Legacy_AdminControllerStrategy.class.php.
setupModuleContext | ( | & | $context, |
$dirname ) |
Create some instances for the module process. Because Legacy_ModuleContext needs XoopsModule instance, this function kills the process if XoopsModule instance can't be found. Plus, in the case, raises 'Legacy.Event.Exception.XoopsModuleNotFound'.
Legacy_HttpContext | $context | |
string | $dirname |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 75 of file Legacy_AdminControllerStrategy.class.php.
setupModuleLanguage | ( | ) |
Reimplemented from Legacy_AbstractControllerStrategy.
Definition at line 179 of file Legacy_AdminControllerStrategy.class.php.
$_mSpecialActions = ['Help', 'CommentList'] |
If this array includes current action, getVirtualCurrentModule() returns the module object that is specified by dirname.
@access private
Definition at line 35 of file Legacy_AdminControllerStrategy.class.php.
$mSetupBlock = null |
Definition at line 27 of file Legacy_AdminControllerStrategy.class.php.
$mStatusFlag = LEGACY_CONTROLLER_STATE_ADMIN |
Definition at line 21 of file Legacy_AdminControllerStrategy.class.php.