/** * @public * @brief Sets the name of the current theme. * @param $name string * @return void * @attention * This method is for the theme changer feature. However, this API will be * changed. */ function setThemeName($name) { parent::setThemeName($name); $this->mXoopsConfig['theme_set'] = $name; $GLOBALS['xoopsConfig']['theme_set'] = $name; }
/** * Creates the context object to initial the root object, and returns it. * * @return XCube_HttpContext */ function &_createContext() { $context = new XCube_HttpContext(); $request = new XCube_HttpRequest(); $context->setRequest($request); return $context; }