Public Member Functions | |
| setupModuleContext (&$context, $dirname) | |
| & | getVirtualCurrentModule () |
| isEnableCacheFeature () | |
| enableAccess () | |
| Legacy_AbstractControllerStrategy::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'.
| Legacy_HttpContext | $context | |
| string | $dirname |
| & Legacy_AbstractControllerStrategy::getVirtualCurrentModule | ( | ) |
| Legacy_AbstractControllerStrategy::isEnableCacheFeature | ( | ) |
Gets a value indicating whether the controller can use a cache mechanism.
| Legacy_AbstractControllerStrategy::enableAccess | ( | ) |
Gets a value indicating whether the current user can access to the current module.
1.5.1