Lines Matching refs:target
69 foreach (['target', 'style', 'action'] as $param) {
81 $target = $params['target'];
88 $ok = $subManager->remove($target, $INPUT->server->str('REMOTE_USER'), $style);
90 $ok = $subManager->add($target, $INPUT->server->str('REMOTE_USER'), $style);
98 prettyprint_id($target)
109 prettyprint_id($target)
122 * @param array &$params the parameters: target, style and action
132 if (!isset($params['target'])) {
133 throw new Exception('no subscription target given');
135 $target = $params['target'];
137 if (str_ends_with($target, ':')) {
138 // Allow “list” subscribe style since the target is a namespace.
162 if ($subscr['target'] === $target) {
171 prettyprint_id($target)
179 $params = ['target' => $target, 'style' => $style, 'action' => $action];