Changeset 9026 for trunk/src/bp-groups/bp-groups-classes.php
- Timestamp:
- 09/17/2014 12:39:27 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-classes.php (modified) (32 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-classes.php
r8950 r9026 159 159 * @param int $id Optional. If the ID of an existing group is provided, 160 160 * the object will be pre-populated with info about that group. 161 * @param array $args { 162 * Array of optional arguments. 163 * @type bool $populate_extras Whether to fetch "extra" data about 164 * the group (group admins/mods, access for the current user). 165 * Default: false. 166 * } 161 167 */ 162 168 public function __construct( $id = null, $args = array() ) { … … 1492 1498 * 1493 1499 * @since BuddyPress (1.8.1) 1500 * @access protected 1494 1501 * @var null|array Null if not yet defined, otherwise an array of ints. 1495 1502 */ … … 1738 1745 * @since BuddyPress (1.8.0) 1739 1746 * 1740 * @param object $query BP_User_Query object. Because we're filtering 1741 * the current object, we use $this inside of the method instead 1747 * @param BP_User_Query $query BP_User_Query object. Because we're 1748 * filtering the current object, we use $this inside of the 1749 * method instead. 1742 1750 * @param string $user_ids_sql Sanitized, comma-separated string of 1743 * the user ids returned by the main query1751 * the user ids returned by the main query. 1744 1752 */ 1745 1753 public function populate_group_member_extras( $query, $user_ids_sql ) { … … 1773 1781 * Sort user IDs by how recently they have generated activity within a given group. 1774 1782 * 1775 * @since BuddyPress (2.1.0)1783 * @since BuddyPress (2.1.0) 1776 1784 * 1777 1785 * @param BP_User_Query $query BP_User_Query object. … … 1815 1823 1816 1824 /** 1817 * BuddyPress Group Membership object s.1825 * BuddyPress Group Membership object. 1818 1826 */ 1819 1827 class BP_Groups_Member { … … 2841 2849 * 2842 2850 * @since BuddyPress (1.8.0) 2851 * @access public 2843 2852 * @var array 2844 2853 */ … … 2849 2858 * 2850 2859 * @since BuddyPress (1.8.0) 2860 * @access public 2851 2861 * @var string 2852 2862 */ … … 2857 2867 * 2858 2868 * @since BuddyPress (1.8.0) 2869 * @access public 2859 2870 * @var ReflectionClass 2860 2871 */ … … 2865 2876 * 2866 2877 * @since BuddyPress (1.8.0) 2878 * @access public 2867 2879 * @var array 2868 2880 */ … … 2873 2885 * 2874 2886 * @since BuddyPress (2.1.0) 2887 * @access public 2875 2888 * @var array 2876 2889 */ … … 2881 2894 * 2882 2895 * @since BuddyPress (1.8.0) 2896 * @access public 2883 2897 * @var int 2884 2898 */ … … 2888 2902 * The slug of the current extension. 2889 2903 * 2904 * @access public 2890 2905 * @var string 2891 2906 */ … … 2895 2910 * The translatable name of the current extension. 2896 2911 * 2912 * @access public 2897 2913 * @var string 2898 2914 */ … … 2902 2918 * The visibility of the extension tab. 'public' or 'private'. 2903 2919 * 2920 * @access public 2904 2921 * @var string 2905 2922 */ … … 2909 2926 * The numeric position of the main nav item. 2910 2927 * 2928 * @access public 2911 2929 * @var int 2912 2930 */ … … 2916 2934 * Whether to show the nav item. 2917 2935 * 2936 * @access public 2918 2937 * @var bool 2919 2938 */ … … 2924 2943 * 2925 2944 * @since BuddyPress (2.1.0) 2945 * @access public 2926 2946 * @var bool 2927 2947 */ … … 2932 2952 * 2933 2953 * @since BuddyPress (2.1.0) 2954 * @access public 2934 2955 * @var bool 2935 2956 */ … … 2939 2960 * The text of the nav item. Defaults to self::name. 2940 2961 * 2962 * @access public 2941 2963 * @var string 2942 2964 */ … … 2948 2970 * Default: 'groups_custom_group_boxes'. 2949 2971 * 2972 * @access public 2950 2973 * @var string 2951 2974 */ … … 2957 2980 * Default: 'groups/single/plugins'. 2958 2981 * 2982 * @access public 2959 2983 * @var string 2960 2984 */ … … 2967 2991 * 2968 2992 * @since BuddyPress (1.8.0) 2993 * @access protected 2969 2994 * @var bool 2970 2995 */ … … 2975 3000 * 2976 3001 * @since BuddyPress (1.8.0) 3002 * @access protected 2977 3003 * @var array 2978 3004 */ … … 2986 3012 * 2987 3013 * @since BuddyPress (1.8.0) 3014 * @access protected 2988 3015 * @var array 2989 3016 */ … … 2994 3021 * 2995 3022 * @since BuddyPress (2.1.0) 3023 * @access protected 2996 3024 * @var string 2997 3025 */ … … 3002 3030 * 3003 3031 * @since BuddyPress (1.8.0) 3032 * @access protected 3004 3033 * @var array 3005 3034 */ … … 3191 3220 * 3192 3221 * @since BuddyPress (1.8.0) 3222 * 3223 * @return int 3193 3224 */ 3194 3225 public static function get_group_id() { … … 3222 3253 * 3223 3254 * @since BuddyPress (1.8.0) 3255 * 3256 * @return array 3224 3257 */ 3225 3258 protected function get_default_screens() { … … 3859 3892 * @since BuddyPress (1.8.0) 3860 3893 * 3861 * @uses wp_nonce_field()3862 *3863 3894 * @param string $context Screen context. 'create', 'edit', or 'admin'. 3864 3895 */ … … 3871 3902 * 3872 3903 * @since BuddyPress (1.8.0) 3873 *3874 * @uses check_admin_referer()3875 3904 * 3876 3905 * @param string $context Screen context. 'create', 'edit', or 'admin'. … … 3890 3919 * 3891 3920 * @param string $context Screen context. 'create', 'edit', or 'admin'. 3892 *3893 3921 * @return bool True if the screen is enabled, otherwise false. 3894 3922 */ … … 4361 4389 * 4362 4390 * @since BuddyPress (2.1.0) 4391 * @access protected 4363 4392 * @var array $args { 4364 4393 * @type int $group_id Positive integers will restrict the search to members in that group.
Note: See TracChangeset
for help on using the changeset viewer.