Class NotifyBehavior
Behavior class to send email notification to users. Currenly handles this scenarios: - new notes or comments added to an object - object has been modified - user profile created or modified Notifications events are triggered accordingo to user preferences (on comments/notes and objects created)
- ModelBehavior
- NotifyBehavior
Version:
$Revision$
Modifiedby: $LastChangedBy$
Lastmodified:
Located at models/behaviors/notify.php
Modifiedby: $LastChangedBy$
Lastmodified:
$LastChangedDate$
$Id$
Located at models/behaviors/notify.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
prepareCustomMail( Model & $model, array & $users, String $msgType, array & $params )
create custom mail jobs using notify messages |
protected
|
|
protected
|
|
protected
string
|
#
getNotifyText( string $msgType, string $field, array & $params, string $lang )
Return well formatted notification text replacing markplace with related text |
protected
|
Properties summary
protected
array
|
$modelNameToUserField
|
#
array("Comment" => "comments", "EditorNote" => "notes")
|
protected
|
$notifyMsg
|
#
null
|