Documentation for EventPresentationModel

Change-Id: Ia620bd1a2a562c606752195cb459dc46d41db7b2
This commit is contained in:
Stephane Bisson 2016-07-21 12:25:46 -04:00
parent bf502f89a0
commit a77d75c3ee

View file

@ -342,7 +342,7 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
* this.
*
* This message should be more compact than the header message
* returned by getHeaderMessage. It is displayed when a
* ( getHeaderMessage() ). It is displayed when a
* notification is part of an expanded bundle.
*
* @return Message
@ -369,6 +369,12 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
* a parameter. It is expected that subclasses will override
* this. The output of the message should be plaintext.
*
* This message is used as the subject line in
* single-notification emails.
*
* For backward compatibility, if this is not defined,
* the header message ( getHeaderMessage() ) is used instead.
*
* @return Message
*/
public function getSubjectMessage() {