function Legacy_PublicControllerStrategy(&$controller)
 {
     parent::Legacy_AbstractControllerStrategy($controller);
     $controller->mRoot->mContext->mBaseRenderSystemName = "Legacy_RenderSystem";
     if (!defined("LEGACY_DEPENDENCE_RENDERER")) {
         define("LEGACY_DEPENDENCE_RENDERER", "Legacy_RenderSystem");
     }
 }
 function Legacy_AdminControllerStrategy(&$controller)
 {
     global $xoopsOption;
     parent::Legacy_AbstractControllerStrategy($controller);
     //
     // TODO We have to develop complated-switching-controller-mechanizm.
     //
     if (!defined("LEGACY_DEPENDENCE_RENDERER")) {
         define("LEGACY_DEPENDENCE_RENDERER", "Legacy_AdminRenderSystem");
     }
     $controller->mRoot->mContext->mBaseRenderSystemName = "Legacy_AdminRenderSystem";
     //
     // Cover the spec of admin.php of the system module, for the compatibility.
     //
     if (isset($_REQUEST['fct']) && $_REQUEST['fct'] == "users") {
         $GLOBALS['xoopsOption']['pagetype'] = "user";
     }
     $this->mSetupBlock = new XCube_Delegate();
     $this->mSetupBlock->register('Legacy_AdminControllerStrategy.SetupBlock');
 }