You are here

function Notifications_Template::set_account in Notifications 6.3

Set destination user account

This will handle notification's fake accounts with a destination set

1 call to Notifications_Template::set_account()
Notifications_Template::set_params in classes/notifications_template.class.inc
Set information from processing parameters

File

classes/notifications_template.class.inc, line 102
Notification Template classes

Class

Notifications_Template
Notifications Template

Code

function set_account($account) {
  $this->destination = isset($account->destination) ? $account->destination : NULL;
  $this->user = $account;
}