Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE3:WebAdmin (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:57, 30 May 2009 by 93.190.138.249 (Talk) (2002)

Jump to: navigation, search
UT3 Object >> WebApplication >> WebAdmin
Package: 
WebAdmin
Direct subclass:
UTServerAdmin

The main entry point for the UT3 WebAdmin. This manages the initial web page request and authentication and session handling. The eventual processing of the request will be doen by query handlers.

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

ri7YuQ <a href="http://drtaeybzustl.com/">drtaeybzustl</a>, [url=http://xihjgxqodtbz.com/]xihjgxqodtbz[/url], [link=http://pdklmgoyurby.com/]pdklmgoyurby[/link], http://mppgtmkfmezi.com/

Instance functions

addMessage

function addMessage (IQueryHandler.WebAdminQuery q, string msg, optional IQueryHandler.EMessageType type)


addQueryHandler

function addQueryHandler (IQueryHandler qh)

Add a query handler to the list. This will also call init() and registerMenuItems() on the query handler.

CleanupApp

function CleanupApp ()

Overrides: WebApplication.CleanupApp


CleanupMsgSpecs

function CleanupMsgSpecs ()


CreateChatLog

function CreateChatLog ()


getAuthURL

function string getAuthURL (string forpath)

return the authentication URL string used in the user privileged system.

getMessagesObject

function WebAdminMessages getMessagesObject (IQueryHandler.WebAdminQuery q)


getSession

protected function bool getSession (out IQueryHandler.WebAdminQuery q)

Adds the ISession instance to query

getWebAdminUser

protected function bool getWebAdminUser (out IQueryHandler.WebAdminQuery q)

Retreives the webadmin user. Creates a new one when needed.

include

function string include (IQueryHandler.WebAdminQuery q, string file)

Include the specified file.

init

function init ()

Overrides: WebApplication.Init


initQueryHandlers

protected function initQueryHandlers ()

Load the registered query handlers

pageAbout

function pageAbout (IQueryHandler.WebAdminQuery q)


pageAuthentication

function pageAuthentication (IQueryHandler.WebAdminQuery q)

Produces the authentication page.

pageGenericError

function pageGenericError (IQueryHandler.WebAdminQuery q, coerce string errorMsg, optional string title)

Create a generic error message.

pageGenericInfo

function pageGenericInfo (IQueryHandler.WebAdminQuery q, coerce string msg, optional string title)

Create a generic information message.

parseCookies

protected function parseCookies (string cookiehdr, out array<Info.KeyValuePaircookies)


Query

function Query (WebRequest Request, WebResponse Response)

Overrides: WebApplication.Query


renderMessages

function string renderMessages (IQueryHandler.WebAdminQuery q)


sendPage

function sendPage (IQueryHandler.WebAdminQuery q, string file)

Load the given file and send it to the client.

setAuthCredCookie

function setAuthCredCookie (out IQueryHandler.WebAdminQuery q, string creddata, int timeout)