Lines Matching refs:users
33 $this->addGroupUsers($INPUT->str('group'), $INPUT->str('users'));
41 $this->editGroupUsers($INPUT->str('group'), $INPUT->str('users'));
46 $INPUT->remove('users');
62 $INPUT->set('users', implode(
93 * Add users to a group
96 * @param string $users comma separated list of users
99 protected function addGroupUsers($group, $users)
105 $users = array_unique(array_map(
107 explode(',', $users)
110 if ($group && $users) {
111 $this->virtualGroups->addUsersToGroup($group, $users);
175 * Set the users of a group
178 * @param string $users comma separated list of users
181 protected function editGroupUsers($group, $users)
187 $users = array_unique(array_map(
189 explode(',', $users)
192 if ($group && $users) {
193 $this->virtualGroups->setGroupUsers($group, $users);
308 echo ' <th class="user">' . hsc($this->getLang('users')) . '</th>';
312 foreach ($this->virtualGroups->getGroupStructure() as $group => $users) {
315 echo ' <td>' . hsc(implode(', ', $users)) . '</td>';
391 * Return the form to add users to a group
403 $form->addTextInput('users', $this->getLang('users'))->attr('placeholder', $this->getLang('usersSample'));
410 * Return the form to edit the users of a group
422 $form->addTextInput('users', $this->getLang('users'))->attr('placeholder', $this->getLang('usersSample'));