Changeset 9515
- Timestamp:
- 02/18/2015 09:09:29 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r9471 r9515 115 115 */ 116 116 class BP_Activity_Template { 117 var $current_activity = -1; 118 var $activity_count; 119 var $total_activity_count; 120 var $activities; 121 var $activity; 122 123 var $in_the_loop; 117 /** 118 * The loop iterator. 119 * 120 * @since BuddyPress (1.5.0) 121 * @access public 122 * @var int 123 */ 124 public $current_activity = -1; 125 126 /** 127 * The activity count. 128 * 129 * @since BuddyPress (1.5.0) 130 * @access public 131 * @var int 132 */ 133 public $activity_count; 134 135 /** 136 * The total activity count. 137 * 138 * @since BuddyPress (1.5.0) 139 * @access public 140 * @var int 141 */ 142 public $total_activity_count; 143 144 /** 145 * Array of activities located by the query. 146 * 147 * @since BuddyPress (1.5.0) 148 * @access public 149 * @var array 150 */ 151 public $activities; 152 153 /** 154 * The activity object currently being iterated on. 155 * 156 * @since BuddyPress (1.5.0) 157 * @access public 158 * @var object 159 */ 160 public $activity; 161 162 /** 163 * A flag for whether the loop is currently being iterated. 164 * 165 * @since BuddyPress (1.5.0) 166 * @access public 167 * @var bool 168 */ 169 public $in_the_loop; 124 170 125 171 /** … … 129 175 * @var string 130 176 */ 131 var $pag_arg; 132 133 var $pag_page; 134 var $pag_num; 135 var $pag_links; 136 137 var $full_name; 177 public $pag_arg; 178 179 /** 180 * The page number being requested. 181 * 182 * @since BuddyPress (1.5.0) 183 * @access public 184 * @var int 185 */ 186 public $pag_page; 187 188 /** 189 * The number of items being requested per page. 190 * 191 * @since BuddyPress (1.5.0) 192 * @access public 193 * @var int 194 */ 195 public $pag_num; 196 197 /** 198 * An HTML string containing pagination links. 199 * 200 * @since BuddyPress (1.5.0) 201 * @access public 202 * @var string 203 */ 204 public $pag_links; 205 206 /** 207 * The displayed user's full name. 208 * 209 * @since BuddyPress (1.5.0) 210 * @access public 211 * @var string 212 */ 213 public $full_name; 138 214 139 215 /** -
trunk/src/bp-forums/bp-forums-template.php
r9471 r9515 112 112 * @var int 113 113 */ 114 var$current_topic = -1;114 public $current_topic = -1; 115 115 116 116 /** … … 120 120 * @var int 121 121 */ 122 var$topic_count;122 public $topic_count; 123 123 124 124 /** … … 128 128 * @var array 129 129 */ 130 var$topics;130 public $topics; 131 131 132 132 /** … … 136 136 * @var object 137 137 */ 138 var$topic;138 public $topic; 139 139 140 140 /** … … 144 144 * @var int 145 145 */ 146 var$forum_id;146 public $forum_id; 147 147 148 148 /** … … 152 152 * @var bool 153 153 */ 154 var$in_the_loop;154 public $in_the_loop; 155 155 156 156 /** … … 160 160 * @var int 161 161 */ 162 var$pag_page;162 public $pag_page; 163 163 164 164 /** … … 168 168 * @var int 169 169 */ 170 var$pag_num;170 public $pag_num; 171 171 172 172 /** … … 176 176 * @var string 177 177 */ 178 var$pag_links;178 public $pag_links; 179 179 180 180 /** … … 184 184 * @var int 185 185 */ 186 var$total_topic_count;186 public $total_topic_count; 187 187 188 188 /** … … 192 192 * @var bool 193 193 */ 194 var$single_topic = false;194 public $single_topic = false; 195 195 196 196 /** … … 200 200 * @var string 201 201 */ 202 var$sort_by;202 public $sort_by; 203 203 204 204 /** … … 208 208 * @var string 209 209 */ 210 var$order;210 public $order; 211 211 212 212 /** … … 1917 1917 * @var int 1918 1918 */ 1919 var$current_post = -1;1919 public $current_post = -1; 1920 1920 1921 1921 /** … … 1925 1925 * @var int 1926 1926 */ 1927 var$post_count;1927 public $post_count; 1928 1928 1929 1929 /** … … 1933 1933 * @var array 1934 1934 */ 1935 var$posts;1935 public $posts; 1936 1936 1937 1937 /** … … 1941 1941 * @var object 1942 1942 */ 1943 var$post;1943 public $post; 1944 1944 1945 1945 /** … … 1949 1949 * @var int 1950 1950 */ 1951 var$forum_id;1951 public $forum_id; 1952 1952 1953 1953 /** … … 1957 1957 * @var int 1958 1958 */ 1959 var$topic_id;1959 public $topic_id; 1960 1960 1961 1961 /** … … 1965 1965 * @var object 1966 1966 */ 1967 var$topic;1967 public $topic; 1968 1968 1969 1969 /** … … 1973 1973 * @var bool 1974 1974 */ 1975 var$in_the_loop;1975 public $in_the_loop; 1976 1976 1977 1977 /** … … 1990 1990 * @var public 1991 1991 */ 1992 var$pag_page;1992 public $pag_page; 1993 1993 1994 1994 /** … … 1998 1998 * @var public 1999 1999 */ 2000 var$pag_num;2000 public $pag_num; 2001 2001 2002 2002 /** … … 2006 2006 * @var string 2007 2007 */ 2008 var$pag_links;2008 public $pag_links; 2009 2009 2010 2010 /** … … 2014 2014 * @var int 2015 2015 */ 2016 var$total_post_count;2016 public $total_post_count; 2017 2017 2018 2018 /** … … 2022 2022 * @var bool 2023 2023 */ 2024 var$single_post = false;2024 public $single_post = false; 2025 2025 2026 2026 /** … … 2030 2030 * @var string 2031 2031 */ 2032 var$sort_by;2032 public $sort_by; 2033 2033 2034 2034 /** … … 2038 2038 * @var string 2039 2039 */ 2040 var$order;2040 public $order; 2041 2041 2042 2042 /** -
trunk/src/bp-groups/bp-groups-template.php
r9512 r9515 102 102 * @var int 103 103 */ 104 var$current_group = -1;104 public $current_group = -1; 105 105 106 106 /** … … 110 110 * @var int 111 111 */ 112 var$group_count;112 public $group_count; 113 113 114 114 /** … … 118 118 * @var array 119 119 */ 120 var$groups;120 public $groups; 121 121 122 122 /** … … 126 126 * @var object 127 127 */ 128 var$group;128 public $group; 129 129 130 130 /** … … 134 134 * @var bool 135 135 */ 136 var$in_the_loop;136 public $in_the_loop; 137 137 138 138 /** … … 142 142 * @var public 143 143 */ 144 var$pag_page;144 public $pag_page; 145 145 146 146 /** … … 150 150 * @var public 151 151 */ 152 var$pag_num;152 public $pag_num; 153 153 154 154 /** … … 158 158 * @var string 159 159 */ 160 var$pag_links;160 public $pag_links; 161 161 162 162 /** … … 166 166 * @var int 167 167 */ 168 var$total_group_count;168 public $total_group_count; 169 169 170 170 /** … … 174 174 * @var bool 175 175 */ 176 var$single_group = false;176 public $single_group = false; 177 177 178 178 /** … … 182 182 * @var string 183 183 */ 184 var$sort_by;184 public $sort_by; 185 185 186 186 /** … … 190 190 * @var string 191 191 */ 192 var$order;192 public $order; 193 193 194 194 /** -
trunk/src/bp-members/bp-members-template.php
r9471 r9515 189 189 * @var int 190 190 */ 191 var$current_member = -1;191 public $current_member = -1; 192 192 193 193 /** … … 197 197 * @var int 198 198 */ 199 var$member_count;199 public $member_count; 200 200 201 201 /** … … 205 205 * @var array 206 206 */ 207 var$members;207 public $members; 208 208 209 209 /** … … 213 213 * @var object 214 214 */ 215 var$member;215 public $member; 216 216 217 217 /** … … 221 221 * @var bool 222 222 */ 223 var$in_the_loop;223 public $in_the_loop; 224 224 225 225 /** … … 229 229 * @var public 230 230 */ 231 var$pag_arg;231 public $pag_arg; 232 232 233 233 /** … … 237 237 * @var public 238 238 */ 239 var$pag_page;239 public $pag_page; 240 240 241 241 /** … … 245 245 * @var public 246 246 */ 247 var$pag_num;247 public $pag_num; 248 248 249 249 /** … … 253 253 * @var string 254 254 */ 255 var$pag_links;255 public $pag_links; 256 256 257 257 /** … … 261 261 * @var int 262 262 */ 263 var$total_member_count;263 public $total_member_count; 264 264 265 265 /** -
trunk/src/bp-xprofile/bp-xprofile-loader.php
r9351 r9515 29 29 * @see bp_xprofile_get_visibility_levels() 30 30 * @since BuddyPress (1.6.0) 31 */ 32 var $visibility_levels = array(); 31 * @var array 32 */ 33 public $visibility_levels = array(); 33 34 34 35 /** -
trunk/src/bp-xprofile/bp-xprofile-template.php
r9471 r9515 12 12 13 13 class BP_XProfile_Data_Template { 14 var $current_group = -1; 15 var $group_count; 16 var $groups; 17 var $group; 18 19 var $current_field = -1; 20 var $field_count; 21 var $field_has_data; 22 var $field; 23 24 var $in_the_loop; 25 var $user_id; 14 /** 15 * The loop iterator. 16 * 17 * @since BuddyPress (1.5.0) 18 * @access public 19 * @var int 20 */ 21 public $current_group = -1; 22 23 /** 24 * The number of groups returned by the paged query. 25 * 26 * @since BuddyPress (1.5.0) 27 * @access public 28 * @var int 29 */ 30 public $group_count; 31 32 /** 33 * Array of groups located by the query. 34 * 35 * @since BuddyPress (1.5.0) 36 * @access public 37 * @var array 38 */ 39 public $groups; 40 41 /** 42 * The group object currently being iterated on. 43 * 44 * @since BuddyPress (1.5.0) 45 * @access public 46 * @var object 47 */ 48 public $group; 49 50 /** 51 * The current field. 52 * 53 * @since BuddyPress (1.5.0) 54 * @access public 55 * @var int 56 */ 57 public $current_field = -1; 58 59 /** 60 * The field count. 61 * 62 * @since BuddyPress (1.5.0) 63 * @access public 64 * @var int 65 */ 66 public $field_count; 67 68 /** 69 * Field has data. 70 * 71 * @since BuddyPress (1.5.0) 72 * @access public 73 * @var bool 74 */ 75 public $field_has_data; 76 77 /** 78 * The field. 79 * 80 * @since BuddyPress (1.5.0) 81 * @access public 82 * @var int 83 */ 84 public $field; 85 86 /** 87 * A flag for whether the loop is currently being iterated. 88 * 89 * @since BuddyPress (1.5.0) 90 * @access public 91 * @var bool 92 */ 93 public $in_the_loop; 94 95 /** 96 * The user ID. 97 * 98 * @since BuddyPress (1.5.0) 99 * @access public 100 * @var int 101 */ 102 public $user_id; 26 103 27 104 function __construct( $user_id, $profile_group_id, $hide_empty_groups = false, $fetch_fields = false, $fetch_field_data = false, $exclude_groups = false, $exclude_fields = false, $hide_empty_fields = false, $fetch_visibility_level = false, $update_meta_cache = true ) {
Note: See TracChangeset
for help on using the changeset viewer.