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

Public Member Functions

 __construct (&$controller)
 
 _setupFilterChain ()
 
 setupModuleContext (&$context, $dirname)
 
 setupBlock ()
 
 _processPreBlockFilter ()
 
getVirtualCurrentModule ()
 
 isEnableCacheFeature ()
 
 enableAccess ()
 
 setupModuleLanguage ()
 

Data Fields

 $mController = null
 
 $mStatusFlag
 
array $_mLoadedFilterNames = []
 

Detailed Description

Definition at line 1457 of file Legacy_Controller.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( & $controller)

Definition at line 1468 of file Legacy_Controller.class.php.

Member Function Documentation

◆ _processPreBlockFilter()

_processPreBlockFilter ( )

Definition at line 1530 of file Legacy_Controller.class.php.

◆ _setupFilterChain()

_setupFilterChain ( )

Definition at line 1473 of file Legacy_Controller.class.php.

◆ enableAccess()

enableAccess ( )

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

Returns
void

Reimplemented in Legacy_AdminControllerStrategy, and Legacy_PublicControllerStrategy.

Definition at line 1556 of file Legacy_Controller.class.php.

◆ getVirtualCurrentModule()

& getVirtualCurrentModule ( )

◆ isEnableCacheFeature()

isEnableCacheFeature ( )

Gets a value indicating whether the controller can use a cache mechanism.

Reimplemented in Legacy_AdminControllerStrategy, and Legacy_PublicControllerStrategy.

Definition at line 1548 of file Legacy_Controller.class.php.

◆ setupBlock()

setupBlock ( )

Reimplemented in Legacy_AdminControllerStrategy.

Definition at line 1526 of file Legacy_Controller.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 in Legacy_AdminControllerStrategy.

Definition at line 1505 of file Legacy_Controller.class.php.

◆ setupModuleLanguage()

setupModuleLanguage ( )

Definition at line 1560 of file Legacy_Controller.class.php.

Field Documentation

◆ $_mLoadedFilterNames

array $_mLoadedFilterNames = []

Definition at line 1466 of file Legacy_Controller.class.php.

◆ $mController

$mController = null

Definition at line 1462 of file Legacy_Controller.class.php.

◆ $mStatusFlag

$mStatusFlag

Definition at line 1464 of file Legacy_Controller.class.php.


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