Message : allow showing a template

This commit is contained in:
Antonin 2016-04-29 18:46:02 +02:00
parent 62cc6f6f09
commit 4faf1be986

View File

@ -25,13 +25,15 @@ class Message {
var $link; var $link;
var $linkTitle; var $linkTitle;
var $linkIcon; var $linkIcon;
var $includeTemplate;
function __construct($type, $message, $link=null, $linkTitle=null, $linkIcon=null) { function __construct($type, $message, $link=null, $linkTitle=null, $linkIcon=null, $includeTemplate=null) {
$this->type = $type; $this->type = $type;
$this->message = $message; $this->message = $message;
$this->link = $link; $this->link = $link;
$this->linkTitle = $linkTitle; $this->linkTitle = $linkTitle;
$this->linkIcon = $linkIcon; $this->linkIcon = $linkIcon;
$this->includeTemplate = $includeTemplate;
} }
} }