XCube
The foundational Core of XoopsCube Legacy
 
Loading...
Searching...
No Matches
XCube_ActionFilter Class Reference

Public Member Functions

 __construct (&$controller)
 Constructor.
 
 preFilter ()
 [Abstract] Executes the logic, when the controller executes preFilter().
 
 preBlockFilter ()
 [Abstract] Executes the logic, when the controller executes preBlockFilter().
 
 postFilter ()
 [Abstract] Executes the logic, when the controller executes postFilter().
 

Data Fields

 $mController
 [READ ONLY] XCube_Controller
 
 $mRoot
 [READ ONLY] XCube_Root
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( & $controller)

Constructor.

Parameters
$controllerXCube_Controller

Member Function Documentation

◆ postFilter()

postFilter ( )

[Abstract] Executes the logic, when the controller executes postFilter().

Remarks
Each controller has different timing when it calls postFilter().

◆ preBlockFilter()

preBlockFilter ( )

[Abstract] Executes the logic, when the controller executes preBlockFilter().

Remarks
Each controller has different timing when it calls preBlockFilter().

◆ preFilter()

preFilter ( )

[Abstract] Executes the logic, when the controller executes preFilter().

Remarks
This method is called at the very beginning of the controller initialization process, some filters may not be called if these filters are registered later.

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