Lines Matching refs:members
44 * @param string $members user/group list
47 public function addRule($item, $type, $members) argument
50 $members = trim($members);
60 if (!$members) {
67 $this->rules[$item] = array($type, $members);
70 $this->applyRule($item, $type, $members);
83 list($type, $members) = $this->rules[$item];
87 $this->ceaseRule($item, $type, $members);
147 * @param string $members user/group list
150 protected function applyRule($item, $type, $members) argument
152 $users = $this->getAffectedUsers($members);
165 * @param string $members user/group list
168 protected function ceaseRule($item, $type, $members) argument
170 $users = $this->getAffectedUsers($members);
182 * @param string $members comma separated list of users and groups
185 protected function getAffectedUsers($members) argument
190 $members = explode(',', $members);
191 $members = array_map('trim', $members);
192 $members = array_filter($members);
193 $members = array_unique($members);
197 foreach ($members as $one) {