[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Subscriptions/ -> PageSubscriptionSender.php (summary)

(no description)

File Size: 84 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PageSubscriptionSender:: (1 method):
  sendPageDiff()


Class: PageSubscriptionSender  - X-Ref

sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $current_rev = null)   X-Ref
Send the diff for some page change

return: bool                     true if successfully sent
param: string   $subscriber_mail The target mail address
param: string   $template        Mail template ('subscr_digest', 'subscr_single', 'mailtext', ...)
param: string   $id              Page for which the notification is
param: int|null $rev             Old revision if any
param: string   $summary         Change summary if any
param: int|null $current_rev     New revision if any