Changeset 7308 for trunk/bp-groups/bp-groups-classes.php
- Timestamp:
- 07/25/2013 02:28:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-classes.php
r7302 r7308 197 197 /** Static Methods ********************************************************/ 198 198 199 function group_exists( $slug, $table_name = false ) {199 public static function group_exists( $slug, $table_name = false ) { 200 200 global $wpdb, $bp; 201 201 … … 209 209 } 210 210 211 function get_id_from_slug( $slug ) {211 public static function get_id_from_slug( $slug ) { 212 212 return BP_Groups_Group::group_exists( $slug ); 213 213 } … … 1487 1487 } 1488 1488 1489 function total_group_count( $user_id = 0 ) {1489 public static function total_group_count( $user_id = 0 ) { 1490 1490 global $bp, $wpdb; 1491 1491 … … 1500 1500 } 1501 1501 1502 function get_invites( $user_id, $limit = false, $page = false, $exclude = false ) {1502 public static function get_invites( $user_id, $limit = false, $page = false, $exclude = false ) { 1503 1503 global $wpdb, $bp; 1504 1504 … … 1551 1551 } 1552 1552 1553 function check_is_admin( $user_id, $group_id ) {1553 public static function check_is_admin( $user_id, $group_id ) { 1554 1554 global $wpdb, $bp; 1555 1555 … … 1560 1560 } 1561 1561 1562 function check_is_mod( $user_id, $group_id ) {1562 public static function check_is_mod( $user_id, $group_id ) { 1563 1563 global $wpdb, $bp; 1564 1564 … … 1569 1569 } 1570 1570 1571 function check_is_member( $user_id, $group_id ) {1571 public static function check_is_member( $user_id, $group_id ) { 1572 1572 global $wpdb, $bp; 1573 1573
Note: See TracChangeset
for help on using the changeset viewer.