Class for sending notices.

All component-specific notification senders should inherit from here.

package org.openpsa.notifications

 Methods

__construct ($recipient)

Parameters

$recipient

save_notification ($message)

Stores the notification into database for later viewing

Parameters

$message

send_email ($message)

Sends the 'content' version of the message as email to subscribers via org.openpsa.mail

Parameters

$message

send_growl ($message)

Sends the 'abstract' version of the message as NetGrowl message to subscribers via org.openpsa.smslib

Parameters

$message

send_sms ($message)

Sends the 'abstract' version of the message as SMS to subscribers via org.openpsa.smslib

Parameters

$message

send_xmpp ($message)

Sends the 'abstract' version of the message as a Jabber message to subscribers

Parameters

$message

 Properties

 

mixed $recipient