Lines Matching refs:entities
126 $entities = $this->createUserGroupEntities($user, $groups);
133 $patterns = $this->getIDPatterns($entities, $id, $pattern);
163 * Combines the user and group info in prefixed entities
174 $entities = (array)$groups;
175 $entities[] = $user;
176 $entities[] = '@ALL'; // everyone is in this
177 return $entities;
181 * Returns all ID patterns that match the given user/group entities
183 * @param string[] $entities List of username and groups
188 protected function getIDPatterns($entities, $id, $pattern)
192 foreach ($entities as $entity) {