interface BlueprintInterface
A notification BlueprintInterface, when instantiated, represents a notification about something. The blueprint is used by the NotificationSyncer to commit the notification to the database.
Methods
static string
getSubjectModel()
<p>Get the name of the model class for the subject of this activity.</p>
Details
at
line 25
User|null
getFromUser()
<p>Get the user that sent the notification.</p>
at
line 30
AbstractModel|null
getSubject()
<p>Get the model that is the subject of this activity.</p>
at
line 35
mixed
getData()
<p>Get the data to be stored in the notification.</p>
at
line 40
static string
getType()
<p>Get the serialized type of this activity.</p>
at
line 47
static string
getSubjectModel()
<p>Get the name of the model class for the subject of this activity.</p>