Lee
Guest
Member
I have setup the following content type for the alert handler class:
I then have this protected php function:
PHP:
Code:
Code:
Read more...
Read more
Continue reading...

I then have this protected php function:
PHP:
Code:
Code:
Code:
protected function sendAlert($alertType, $to, $fromUser)
{
/* Load the Alert Repo */
$alertRepo = $this->repository('XF:UserAlert');
$alertRepo->alert(
$to,
$fromUser->user_id...
Read more...
Read more
Continue reading...