1 | <?php |
||
12 | class userlist |
||
13 | { |
||
14 | /** |
||
15 | * @param array $settings |
||
16 | * @param bool $change_user |
||
17 | * @return int |
||
18 | */ |
||
19 | 8 | public static function get_user_id(array &$settings, $change_user) |
|
33 | |||
34 | /** |
||
35 | * if we're selecting from a list and there is no result, we remove the culprit and update the list |
||
36 | * |
||
37 | * @param array $settings |
||
38 | */ |
||
39 | 4 | public static function update(array &$settings) |
|
58 | |||
59 | /** |
||
60 | * @param string $list |
||
61 | * @return array |
||
62 | */ |
||
63 | 8 | private static function _get_userlist($list) |
|
68 | |||
69 | /** |
||
70 | * @param $current_user |
||
71 | * @param $userlist |
||
72 | * @return int |
||
73 | */ |
||
74 | 6 | private static function _get_next_user($current_user, array $userlist) |
|
84 | |||
85 | /** |
||
86 | * @param $current_user |
||
87 | * @param $userlist |
||
88 | * @return int |
||
89 | */ |
||
90 | 3 | private static function _get_next_key($current_user, array $userlist) |
|
97 | } |
||
98 |