Changeset 10108 for trunk/src/bp-core/classes/class-bp-user-query.php
- Timestamp:
- 09/13/2015 02:02:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-user-query.php
r10043 r10108 7 7 */ 8 8 9 // Exit if accessed directly 9 // Exit if accessed directly. 10 10 defined( 'ABSPATH' ) || exit; 11 11 … … 16 16 * Member directories, the Friends component, etc. 17 17 * 18 * @since BuddyPress (1.7.0)18 * @since 1.7.0 19 19 * 20 20 * @param array $query { … … 66 66 * Unaltered params as passed to the constructor. 67 67 * 68 * @since BuddyPress (1.8.0)68 * @since 1.8.0 69 69 * @var array 70 70 */ … … 74 74 * Array of variables to query with. 75 75 * 76 * @since BuddyPress (1.7.0)76 * @since 1.7.0 77 77 * @var array 78 78 */ … … 83 83 * 84 84 * @access public To allow components to manipulate them. 85 * @since BuddyPress (1.7.0)85 * @since 1.7.0 86 86 * @var array 87 87 */ … … 92 92 * 93 93 * @access public To allow components to manipulate it. 94 * @since BuddyPress (1.7.0)94 * @since 1.7.0 95 95 * @var int 96 96 */ … … 101 101 * 102 102 * @access public To allow components to manipulate it. 103 * @since BuddyPress (1.7.0)103 * @since 1.7.0 104 104 * @var array 105 105 */ … … 110 110 * 111 111 * @access public To allow components to manipulate it. 112 * @since BuddyPress (1.7.0)112 * @since 1.7.0 113 113 * @var array 114 114 */ … … 118 118 * SQL table where the user ID is being fetched from. 119 119 * 120 * @since BuddyPress (2.2.0)120 * @since 2.2.0 121 121 * @access public 122 122 * @var string … … 127 127 * SQL database column name to order by. 128 128 * 129 * @since BuddyPress (1.7.0)129 * @since 1.7.0 130 130 * @var string 131 131 */ … … 136 136 * 137 137 * @access protected 138 * @since BuddyPress (1.7.0)138 * @since 1.7.0 139 139 * @var string 140 140 */ … … 147 147 * Constructor. 148 148 * 149 * @since BuddyPress (1.7.0)149 * @since 1.7.0 150 150 * 151 151 * @param string|array $query See {@link BP_User_Query}. … … 183 183 * Fires before the construction of the BP_User_Query query. 184 184 * 185 * @since BuddyPress (1.7.0)185 * @since 1.7.0 186 186 * 187 187 * @param BP_User_Query $this Current instance of the BP_User_Query. Passed by reference. … … 223 223 * {@link BP_Group_Member_Query::setup_hooks()} for an example. 224 224 * 225 * @since BuddyPress (1.8.0)225 * @since 1.8.0 226 226 */ 227 227 public function setup_hooks() {} … … 230 230 * Prepare the query for user_ids. 231 231 * 232 * @since BuddyPress (1.7.0)232 * @since 1.7.0 233 233 */ 234 234 public function prepare_user_ids_query() { … … 277 277 * Filters the threshold for activity timestamp minutes since to indicate online status. 278 278 * 279 * @since BuddyPress (1.8.0)279 * @since 1.8.0 280 280 * 281 281 * @param int $value Amount of minutes for threshold. Default 15. … … 471 471 * Filters the clauses for the user query. 472 472 * 473 * @since BuddyPress (2.0.0)473 * @since 2.0.0 474 474 * 475 475 * @param array $sql Array of SQL clauses to be used in the query. … … 488 488 * Fires before the BP_User_Query query is made. 489 489 * 490 * @since BuddyPress (1.7.0)490 * @since 1.7.0 491 491 * 492 492 * @param BP_User_Query $this Current BP_User_Query instance. Passed by reference. … … 503 503 * Also used to quickly perform user total counts. 504 504 * 505 * @since BuddyPress (1.7.0)505 * @since 1.7.0 506 506 */ 507 507 public function do_user_ids_query() { … … 526 526 * use a "SELECT COUNT()" query statement. 527 527 * 528 * @since BuddyPress (1.7.0)528 * @since 1.7.0 529 529 * 530 530 * @param string $value SQL statement to select FOUND_ROWS(). … … 543 543 * Use WP_User_Query() to pull data for the user IDs retrieved in the main query. 544 544 * 545 * @since BuddyPress (1.7.0)545 * @since 1.7.0 546 546 */ 547 547 public function do_wp_user_query() { … … 556 556 * Filters the WP User Query arguments before passing into the class. 557 557 * 558 * @since BuddyPress (1.7.0)558 * @since 1.7.0 559 559 * 560 560 * @param array $value Array of arguments for the user query. … … 621 621 * for an example. 622 622 * 623 * @since BuddyPress (1.8.0)623 * @since 1.8.0 624 624 * 625 625 * @param array $include Sanitized array of user IDs, as passed to the 'include' … … 639 639 * action to loop in the things they want. 640 640 * 641 * @since BuddyPress (1.7.0)641 * @since 1.7.0 642 642 * 643 643 * @global WPDB $wpdb Global WordPress database access object. … … 678 678 * @see bp_friends_filter_user_query_populate_extras() 679 679 * 680 * @since BuddyPress (1.7.0)680 * @since 1.7.0 681 681 * 682 682 * @param BP_User_Query $this Current BP_User_Query instance.
Note: See TracChangeset
for help on using the changeset viewer.