Change book | Close bookmaker |
internal package
Foswiki::Contrib::MailerContrib::Subscription internal package
Foswiki::Contrib::MailerContrib::Subscription ClassMethod
new($pages, $childDepth, $options) $pages
- Wildcarded expression matching subscribed pages.
$childDepth
- Depth of children of $topic to notify changes for. Defaults to 0
$options
- bitmask of Foswiki::Contrib::MailerContrib::Subscription options
ObjectMethod
matches($topic, $db, $depth) → boolean $topic
- Topic names we are checking (may be an array ref)
$db
- Foswiki::Contrib::MailerContrib::UpData database of parent names
$depth
- If non-zero, check if the parent of the given topic matches as well. undef = 0.
TODO: '*' should match alot of things..
ObjectMethod
covers($other, $db) → $boolean $other
- Other subscription object we are checking
$db
- Foswiki::Contrib::MailerContrib::UpData database of parent names
ObjectMethod
filterExact( \@pages ) → $boolean ObjectMethod
getMode() → $mode ObjectMethod
equals($other) → $boolean