FfMessageHelper
public class FfMessageHelper
Field Summary | |
---|---|
mixed | An internal FfForm used for processing button presses in the message window. |
mixed | The message clear text or HTML. |
mixed | True if section header CSS wrappers should be displayed. |
Constructor Summary | |
---|---|
FfMessageHelper(string message, boolean showCancel, boolean showOk, boolean showBorder) Creates a new FfMessageHelper. |
|
__construct(string message, boolean showCancel, boolean showOk, boolean showBorder) Creates a new FfMessageHelper. |
Method Summary | |
---|---|
the | getError() Returns the HTML to display this message window as an error. |
void | getErrorMessage(mixed message) A static method that returns the HTML needed to display a basic error message with no buttons. |
the | getInfo() Returns the HTML to display this message window as a information |
void | getInfoMessage(mixed message) A static method that returns the HTML needed to display a basic info message with no buttons. |
string | getMessage(string altString, string messageClass, string sectionClass) Returns HTML to display this message window. |
the | Returns the HTML to display this message window as a question |
void | getQuestionMessage(mixed message) A static method that returns the HTML needed to display a basic question message with no buttons. |
the | Returns the HTML to display this message window as a warning |
void | getWarningMessage(mixed message) A static method that returns the HTML needed to display a basic warning message with no buttons. |
void | Echos the HTML to display this message window as an error. |
void | Echos the HTML to display this message window as a information. |
void | printMessage(mixed iconPath, string altString, string messageClass, string sectionClass) Echos the HTML to display this message window. |
void | Echos the HTML to display this message window as a question. |
void | Echos the HTML to display this message window as a warning. |
public mixed $ffForm = null
An internal FfForm used for processing button presses in the message window.
public mixed $message = null
The message clear text or HTML.
public mixed $showBorder = true
True if section header CSS wrappers should be displayed.
public FfMessageHelper(string message, boolean showCancel, boolean showOk, boolean showBorder)
Creates a new FfMessageHelper.
public __construct(string message, boolean showCancel, boolean showOk, boolean showBorder)
Creates a new FfMessageHelper.
public the getError()
Returns the HTML to display this message window as an error.
public void getErrorMessage(mixed message)
A static method that returns the HTML needed to display a basic error message with no buttons.
public the getInfo()
Returns the HTML to display this message window as a information
public void getInfoMessage(mixed message)
A static method that returns the HTML needed to display a basic info message with no buttons.
public string getMessage(string altString, string messageClass, string sectionClass)
Returns HTML to display this message window.
public the getQuestion()
Returns the HTML to display this message window as a question
public void getQuestionMessage(mixed message)
A static method that returns the HTML needed to display a basic question message with no buttons.
public the getWarning()
Returns the HTML to display this message window as a warning
public void getWarningMessage(mixed message)
A static method that returns the HTML needed to display a basic warning message with no buttons.
public void printError()
Echos the HTML to display this message window as an error.
public void printInfo()
Echos the HTML to display this message window as a information.
public void printMessage(mixed iconPath, string altString, string messageClass, string sectionClass)
Echos the HTML to display this message window.
public void printQuestion()
Echos the HTML to display this message window as a question.
public void printWarning()
Echos the HTML to display this message window as a warning.
FfMessageHelper is a helper class that uses a small FfForm to create message dialogs/windows for errors, warnings, information and questions.