Lines Matching refs:patterns
106 // regex patterns
224 * Set assignees for a given page from the patterns
229 $patterns = $this->getAssignmentPatterns();
234 // find all patterns that match the page and add the configured assignees
235 foreach ($patterns as $pattern => $assignees) {
332 * Get all the assignment patterns
342 * Save new assignment patterns
344 * This resaves all patterns and reapplies them
346 * @param array $patterns (pattern => assignees)
348 public function saveAssignmentPatterns($patterns)
357 /** @noinspection SqlWithoutWhere Remove all patterns */
361 // insert new patterns and gather affected pages
365 foreach ($patterns as $pattern => $assignees) {
371 // patterns may overlap, so we need to gather all affected pages first