WeakWiki


WeakWiki\MessageBox
lib\gui.library.php at line 128

Class MessageBox

MessageBox

public class MessageBox

This class generates a message box


Method Summary
void

__construct(str title, str text, mixed type)

Creates a new instance of the class.

void

getHTML()

Returns the HTML-representation of the message box.

void

getText()

Returns the message box text.

void

getTitle()

Returns the message box title.

void

getType()

Returns the message box type.

void

setText(mixed value)

Sets the message box text.

void

setTitle(mixed value)

Sets the message box title.

void

setType(mixed value)

Sets the message box type.

void

write()

Writes the message box.

Method Detail

lib\gui.library.php at line 152

__construct

public void __construct(str title, str text, mixed type)

Creates a new instance of the class. @param $title Message box title. @param $text Message box text. @param $txpe Message box type.


lib\gui.library.php at line 213

getHTML

public void getHTML()

Returns the HTML-representation of the message box. @return HTML code.


lib\gui.library.php at line 182

getText

public void getText()

Returns the message box text. @return Message box text.


lib\gui.library.php at line 166

getTitle

public void getTitle()

Returns the message box title. @return Message box title.


lib\gui.library.php at line 197

getType

public void getType()

Returns the message box type. @return Message box type.


lib\gui.library.php at line 189

setText

public void setText(mixed value)

Sets the message box text. @param $value Message box text.


lib\gui.library.php at line 174

setTitle

public void setTitle(mixed value)

Sets the message box title. @param $value Message box title.


lib\gui.library.php at line 205

setType

public void setType(mixed value)

Sets the message box type. @param $value Message box type.


lib\gui.library.php at line 222

write

public void write()

Writes the message box.


WeakWiki