optional text parameter for status message

This commit is contained in:
Roland Gruber 2010-09-15 19:52:07 +00:00
parent 42e443e80b
commit a1de3afcf2
1 changed files with 2 additions and 2 deletions

View File

@ -1360,9 +1360,9 @@ class htmlStatusMessage extends htmlElement {
*
* @param String $type message type (e.g. ERROR)
* @param String $title message title
* @param String $text message
* @param String $text message (optional)
*/
function __construct($type, $title, $text) {
function __construct($type, $title, $text = null) {
$this->type = $type;
$this->title = $title;
$this->text = $text;