/** * Return a map of userNames => userids * * You can specify how many users to list, and where the windows is in the list of all users. * * @param int $count (optional) the number of usernames desired * @param int $offset (optional) the start of the range * @param string $substring (optional) a substring to match * @return array GalleryStatus a status code * array (username, username, ...) */ function fetchUsernames($count = null, $offset = null, $substring = null) { MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryUserHelper_medium.class'); return GalleryUserHelper_medium::fetchUsernames($count, $offset, $substring); }