Mostly Harmless

UE3:WebAdminUtils (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> WebAdminUtils
Package: 
WebAdmin

Various static utility functions

Copyright 2008 Epic Games, Inc. All Rights Reserved

Author: Michiel 'elmuerte' Hendriks

Structs

DateTime

int year 
int month 
int day 
int hour 
int minute 
int second 

Static functions

ColorToHTMLColor

static final function string ColorToHTMLColor (Object.Color clr)

Convert a color to the HTML equivalent

getDateTime

static final function bool getDateTime (out DateTime record, optional string ts)

Parse a timestamp to a DateTime structure. When no timestamp is given the current timestamp will be used. The format of the timestamp is: YYYY/MM/DD - HH:MM:SS

getLocalized

static final function string getLocalized (coerce string data)


HTMLEscape

static final function string HTMLEscape (coerce string inp)

Escape HTML tags in the given string. Expects the input to not contain any escaped entities (i.e. &...;)

parseUrlOptions

static final function parseUrlOptions (out array<Info.KeyValuePairoptions, string url)


Trim

static final function string Trim (coerce string inp)

Trim everything below ascii 32 from begin and end