ActivityModel::notifyWallComment PHP Method

notifyWallComment() protected method

Notify the user of wall comments.
protected notifyWallComment ( array $Comment, $WallPost )
$Comment array
$WallPost
    protected function notifyWallComment($Comment, $WallPost)
    {
        $NotifyUser = Gdn::userModel()->getID($WallPost['ActivityUserID']);
        $Activity = ['ActivityType' => 'WallComment', 'ActivityUserID' => $Comment['InsertUserID'], 'Format' => $Comment['Format'], 'NotifyUserID' => $WallPost['ActivityUserID'], 'RecordType' => 'ActivityComment', 'RecordID' => $Comment['ActivityCommentID'], 'RegardingUserID' => $WallPost['ActivityUserID'], 'Route' => userUrl($NotifyUser, ''), 'Story' => $Comment['Body'], 'HeadlineFormat' => t('HeadlineFormat.NotifyWallComment', '{ActivityUserID,User} commented on your <a href="{Url,url}">wall</a>.')];
        $this->save($Activity, 'WallComment');
    }