Example #1
0
 public static function getUsers($all_fields = FALSE, $network = FALSE)
 {
     $users = get_users(array('blog_id' => $network ? '' : $GLOBALS['blog_id'], 'orderby' => 'display_name', 'fields' => $all_fields ? 'all_with_meta' : 'all'));
     return gPluginUtils::reKey($users, 'ID');
 }
Example #2
0
 public static function reKey($list, $key)
 {
     self::__dep('gPluginUtils::reKey()');
     return gPluginUtils::reKey($list, $key);
 }