Class Sml

Description
  • abstract: Allows messages to be logged to the session and a log of those messages is maintained.

Located in /sml/Sml.php (line 15)


	
			
Method Summary
void addNewMessage (string $msg, [boolean $hidden = false])
array getMessageLog ()
void printMessage ()
Methods
Constructor __construct (line 35)
  • abstract: Contrucor
  • access: public
Sml __construct ()
addNewMessage (line 44)
  • abstract: Adds a new message to the session log
  • access: public
void addNewMessage (string $msg, [boolean $hidden = false])
  • string $msg: The message
  • boolean $hidden: Display to the user or not
getMessageLog (line 77)
  • abstract: Returns the array from the session
  • access: public
array getMessageLog ()
getMostRecentMessage (line 65)
  • abstract: Returns the most recent message from the log
  • access: public
mixed getMostRecentMessage ()
printMessage (line 88)
  • abstract: Prints the messages
  • access: public
void printMessage ()

Documentation generated on Wed, 15 Apr 2009 17:03:41 -0700 by phpDocumentor 1.4.1