1 | <?php |
||
16 | class BlogPostNotifications extends DataExtension |
||
17 | { |
||
18 | /** |
||
19 | * Configure whether to send notifications even for spam comments |
||
20 | * |
||
21 | * @config |
||
22 | * @var boolean |
||
23 | */ |
||
24 | private static $notification_on_spam = true; |
||
25 | |||
26 | /** |
||
27 | * Notify all authors of notifications. |
||
28 | * |
||
29 | * @param SS_List $list |
||
30 | * @param mixed $comment |
||
31 | */ |
||
32 | public function updateNotificationRecipients(&$list, &$comment) |
||
42 | |||
43 | /** |
||
44 | * Update comment to include the page title. |
||
45 | * |
||
46 | * @param string $subject |
||
47 | * @param Comment $comment |
||
48 | * @param Member|string $recipient |
||
49 | */ |
||
50 | public function updateNotificationSubject(&$subject, &$comment, &$recipient) |
||
54 | } |
||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.