Class Legacy_ThemeSelect
Theme select mechanism is that base knows the method to change themes without
RenderSystem. So this class uses delegate to check whether the specified theme
is selectable. Functions should be added to this delegate in constructor,
because the delegate is called in preBlockFilter().
-
XCube_ActionFilter
-
Legacy_ThemeSelect
Methods summary
public
|
|
public
|
#
preBlockFilter( )
Brief
[Abstract] Executes the logic, when the controller executes preBlockFilter().
Public
Remarks
Each controller has different timing when it calls preBlockFilter().
Overrides
|
public
|
#
doChangeTheme( XoopsUser & $principal, & $controller, & $context )
Because this process needs sessions, this functions is added to SiteLogin
event.
Because this process needs sessions, this functions is added to SiteLogin
event.
Parameters
- $principal
XoopsUser
$xoopsUser Must parameter, because this is added to login event.
- $controller
- $context
|
public
|
|
public
|
|