Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| dev:2xx:addonsapi:userlocking [13.10.2017 22:01] – Manuela v.d.Decken | dev:2xx:addonsapi:userlocking [29.02.2020 09:36] (aktuell) – Manuela v.d.Decken | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | **[[dev:2xx: | + | **[[dev:284: |
| <PHP> | <PHP> | ||
| class api\LockUserByAddon | class api\LockUserByAddon | ||
| Zeile 5: | Zeile 5: | ||
| /** | /** | ||
| * | * | ||
| - | * @param | + | * @param |
| */ | */ | ||
| - | | + | __construct(object |
| /** | /** | ||
| - | * Get a list of groups | + | * Get a list of groups, ordered by name |
| - | * @return array | + | * @return array format returned: array([' |
| - | * @description | + | |
| - | | + | |
| - | | + | |
| | | ||
| */ | */ | ||
| Zeile 20: | Zeile 19: | ||
| /** | /** | ||
| - | * get all users of a group | + | * get all users of a group, ordered by display_name |
| * @param int $iGroupId | * @param int $iGroupId | ||
| - | * @return array | + | * @return array format returned: array([' |
| - | * @description | + | |
| - | | + | |
| | | ||
| */ | */ | ||
| Zeile 33: | Zeile 32: | ||
| * @param int $iGroupId | * @param int $iGroupId | ||
| * @return bool | * @return bool | ||
| - | * @description users disabled by the calling | + | * @description |
| */ | */ | ||
| bool enableGroup(int $iGroupId) | bool enableGroup(int $iGroupId) | ||
| Zeile 48: | Zeile 47: | ||
| * @param int $iUserId | * @param int $iUserId | ||
| * @return boolean | * @return boolean | ||
| - | * @description | + | * @description |
| */ | */ | ||
| bool enableUser(int $iUserId default = 0) | bool enableUser(int $iUserId default = 0) | ||