- Symphony 2.2.1
public class Alertclass.alert.php #11
The Alert class drives the standard Symphony notices that appear at the top of the backend pages to alert the user of something. Their are three default alert styles, notice, error and success.
static string ERROR = 'error'
Represents an error, used when something has gone wrong during the previous action. It is blocking, in that the action has not completed successfully.
static string NOTICE = 'notice'
Represents a notice, usually used for non blocking alerts, just to inform that user that something has happened and they need to aware of it
static string SUCCESS = 'success'
Represents success, used when an action has completed successfully with no errors
Constructor for the Alert class initialises some default variables
Magic accessor function to get the private variables from an Alert instance
Magic isset function to check if a variable is set by ensuring it's not null
True when set, false when not set.
Magic setter function to set the private variables of an Alert instance
Generates as XMLElement representation of this Alert