XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_AdminControllerStrategy Class Reference
Inheritance diagram for Legacy_AdminControllerStrategy:
Legacy_AbstractControllerStrategy

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']
 
- Data Fields inherited from Legacy_AbstractControllerStrategy
 $mController = null
 
 $mStatusFlag
 
array $_mLoadedFilterNames = []
 

Detailed Description

Definition at line 19 of file Legacy_AdminControllerStrategy.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( & $controller)

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 37 of file Legacy_AdminControllerStrategy.class.php.

Member Function Documentation

◆ _processPreBlockFilter()

_processPreBlockFilter ( )

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 98 of file Legacy_AdminControllerStrategy.class.php.

◆ _setupFilterChain()

_setupFilterChain ( )

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 63 of file Legacy_AdminControllerStrategy.class.php.

◆ enableAccess()

enableAccess ( )

Gets a value indicating whether the current user can access to the current module.

Returns
void

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 153 of file Legacy_AdminControllerStrategy.class.php.

◆ getMainThemeObject()

& getMainThemeObject ( )

Definition at line 134 of file Legacy_AdminControllerStrategy.class.php.

◆ getVirtualCurrentModule()

& getVirtualCurrentModule ( )

◆ isEnableCacheFeature()

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()

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()

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'.

Parameters
Legacy_HttpContext$context
string$dirname

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 75 of file Legacy_AdminControllerStrategy.class.php.

◆ setupModuleLanguage()

setupModuleLanguage ( )

Reimplemented from Legacy_AbstractControllerStrategy.

Definition at line 179 of file Legacy_AdminControllerStrategy.class.php.

Field Documentation

◆ $_mSpecialActions

$_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

$mSetupBlock = null

Definition at line 27 of file Legacy_AdminControllerStrategy.class.php.

◆ $mStatusFlag

$mStatusFlag = LEGACY_CONTROLLER_STATE_ADMIN

Definition at line 21 of file Legacy_AdminControllerStrategy.class.php.


The documentation for this class was generated from the following file: