XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct (&$controller) | |
Constructor. | |
preBlockFilter () | |
[Abstract] Executes the logic, when the controller executes preBlockFilter(). | |
doChangeTheme (&$principal, &$controller, &$context) | |
callbackCheckLoginSuccess (&$xoopsUser) | |
_isSelectableTheme ($theme_name) | |
![]() | |
preFilter () | |
[Abstract] Executes the logic, when the controller executes preFilter(). | |
postFilter () | |
[Abstract] Executes the logic, when the controller executes postFilter(). | |
Data Fields | |
$mIsSelectableTheme = null | |
![]() | |
$mController | |
[READ ONLY] XCube_Controller | |
$mRoot | |
[READ ONLY] XCube_Root | |
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().
Definition at line 21 of file ThemeSelect.class.php.
__construct | ( | & | $controller | ) |
Constructor.
$controller | XCube_Controller |
Reimplemented from XCube_ActionFilter.
Definition at line 28 of file ThemeSelect.class.php.
_isSelectableTheme | ( | $theme_name | ) |
Definition at line 79 of file ThemeSelect.class.php.
callbackCheckLoginSuccess | ( | & | $xoopsUser | ) |
Definition at line 67 of file ThemeSelect.class.php.
doChangeTheme | ( | & | $principal, |
& | $controller, | ||
& | $context ) |
Because this process needs sessions, this functions is added to SiteLogin event.
$principal | |
$controller | |
$context |
Definition at line 53 of file ThemeSelect.class.php.
preBlockFilter | ( | ) |
[Abstract] Executes the logic, when the controller executes preBlockFilter().
Reimplemented from XCube_ActionFilter.
Definition at line 40 of file ThemeSelect.class.php.
$mIsSelectableTheme = null |
Definition at line 26 of file ThemeSelect.class.php.