Lines Matching defs:style
27 * @throws Exception when user or style is empty
32 * @param string $style
37 public function add($id, $user, $style, $data = '')
47 $style = trim($style);
53 if (!$style) {
54 throw new Exception('no subscription style given');
60 $line = "$user $style $data\n";
75 * @param string|array $style
81 public function remove($id, $user = null, $style = null, $data = null)
93 $re = $regexBuilder->buildRegex($user, $style, $data);
102 * “target”, “style”, and optionally “data”.
142 'style' => $info[$user][0],
158 * @param string|array $style
167 public function subscribers($page, $user = null, $style = null, $data = null)
181 $re = $regexBuilder->buildRegex($user, $style, $data);
192 // fix old style subscription files
220 * Aggregates all email addresses of user who have subscribed the given page with 'every' style