/** * Return the total number of users * * @param string $substring an optional substring to match against the username * @return array GalleryStatus a status code * int number of users */ function fetchUserCount($substring = null, $groupId = null) { MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryUserHelper_medium.class'); return GalleryUserHelper_medium::fetchUserCount($substring, $groupId); }