Home
last modified time | relevance | path

Searched refs:grps (Results 1 – 5 of 5) sorted by last modified time

/dokuwiki/lib/plugins/authpdo/
H A Dauth.php156 * grps array list of groups the user is in
171 $data['grps'] = $this->selectUserGroups($data);
172 if ($data['grps'] === false) return false;
193 * @param null|array $grps
196 public function createUser($user, $clear, $name, $mail, $grps = null)
206 if ($grps == null) $grps = [];
207 array_unshift($grps, $conf['defaultgroup']);
208 $grps = array_unique($grps);
236 createUser($user, $clear, $name, $mail, $grps = null) global() argument
[all...]
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php129 $content[] = implode(", ", $user['grps']);
155 [$login, $mail, $name, $grps, $pass] = $args;
156 $grps = array_filter(array_map('trim', explode(',', $grps)));
174 if ($auth->triggerUserMod('create', [$login, $pass, $name, $mail, $grps])) {
232 $changes['grps'] = $oldinfo['grps'];
234 if (!in_array($group, $oldinfo['grps'])) {
235 $changes['grps'][] = $group;
240 if (!empty(array_diff($changes['grps'],
[all...]
H A Dadmin.php254 echo '<td><input type="text" name="usergroups" class="edit" value="' . $this->htmlFilter('grps') . '" /></td>';
266 * @var array $grps
268 $groups = implode(', ', $grps);
374 * @param array $userdata array with name, mail, pass and grps
390 if (!empty($grps)) $groups = implode(',', $grps);
646 [$user, $pass, $name, $mail, $grps, $passconfirm] = $this->retrieveUser();
693 if ($ok = $this->auth->triggerUserMod('create', [$user, $pass, $name, $mail, $grps])) {
823 if (!empty($newgrps) && $this->auth->canDo('modGroups') && $newgrps != $oldinfo['grps']) {
824 $changes['grps']
[all...]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php84 * grps array list of groups the user is in
88 * @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied
106 * @param array $grps list of groups the user is in
109 protected function createUserLine($user, $pass, $name, $mail, $grps)
111 $groups = implode(',', $grps);
127 * function if grps are not specified (default behaviour).
136 * @param array $grps
139 public function createUser($user, $pwd, $name, $mail, $grps = null)
153 if (!is_array($grps)) $grps
108 createUserLine($user, $pass, $name, $mail, $grps) global() argument
137 createUser($user, $pwd, $name, $mail, $grps = null) global() argument
[all...]
/dokuwiki/inc/Extension/
H A DAuthPlugin.php208 $USERINFO['grps'] = array('FIXME');
245 * grps array list of groups the user is in
274 * @param null|array $grps
277 public function createUser($user, $pass, $name, $mail, $grps = null)
279 createUser($user, $pass, $name, $mail, $grps = null) global() argument