Changeset 4216
- Timestamp:
- 04/19/2011 07:28:07 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r4108 r4216 81 81 82 82 function bp_activity_template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden, $exclude, $in ) { 83 $this->__construct( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden, $exclude, $in ); 84 } 85 86 function __construct( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden, $exclude, $in ) { 83 87 global $bp; 84 88 -
trunk/bp-groups/bp-groups-template.php
r4137 r4216 72 72 73 73 function bp_groups_template( $user_id, $type, $page, $per_page, $max, $slug, $search_terms, $include, $populate_extras, $exclude, $show_hidden ) { 74 $this->__construct( $user_id, $type, $page, $per_page, $max, $slug, $search_terms, $include, $populate_extras, $exclude, $show_hidden ); 75 } 76 77 function __construct( $user_id, $type, $page, $per_page, $max, $slug, $search_terms, $include, $populate_extras, $exclude, $show_hidden ){ 78 74 79 global $bp; 75 80 … … 1448 1453 1449 1454 function bp_groups_group_members_template( $group_id, $per_page, $max, $exclude_admins_mods, $exclude_banned, $exclude ) { 1455 $this->__construct( $group_id, $per_page, $max, $exclude_admins_mods, $exclude_banned, $exclude ); 1456 } 1457 1458 function __construct( $group_id, $per_page, $max, $exclude_admins_mods, $exclude_banned, $exclude ) { 1450 1459 global $bp; 1451 1460 … … 2134 2143 2135 2144 function bp_groups_membership_requests_template( $group_id, $per_page, $max ) { 2145 $this->__construct( $group_id, $per_page, $max ); 2146 } 2147 2148 2149 function __construct( $group_id, $per_page, $max ) { 2150 2136 2151 global $bp; 2137 2152 … … 2304 2319 2305 2320 function bp_groups_invite_template( $user_id, $group_id ) { 2321 $this->__construct( $user_id, $group_id ); 2322 } 2323 2324 function __construct( $user_id, $group_id ) { 2325 2306 2326 global $bp; 2307 2327 2308 2328 $this->invites = groups_get_invites_for_group( $user_id, $group_id ); 2309 2329 $this->invite_count = count( $this->invites ); 2330 2310 2331 } 2311 2332 -
trunk/bp-xprofile/bp-xprofile-classes.php
r4097 r4216 10 10 11 11 function bp_xprofile_group( $id = null ) { 12 $this->__construct( $id ); 13 } 14 15 function __construct( $id = null ) { 12 16 global $bp, $wpdb; 13 17 … … 281 285 var $message = null; 282 286 var $message_type = 'err'; 283 287 284 288 function bp_xprofile_field( $id = null, $user_id = null, $get_data = true ) { 289 $this->__construct( $id, $user_id, $get_data ); 290 } 291 292 function __construct( $id = null, $user_id = null, $get_data = true ) { 285 293 if ( $id ) 286 294 $this->populate( $id, $user_id, $get_data ); … … 743 751 var $value; 744 752 var $last_updated; 745 753 746 754 function bp_xprofile_profiledata( $field_id = null, $user_id = null ) { 755 $this->__construct( $field_id, $user_id ); 756 } 757 758 function __construct( $field_id = null, $user_id = null ) { 747 759 if ( $field_id ) 748 760 $this->populate( $field_id, $user_id );
Note: See TracChangeset
for help on using the changeset viewer.