- Timestamp:
- 07/12/2015 12:49:36 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-members-suggestions.php
r9819 r10012 25 25 * @since BuddyPress (2.1.0) 26 26 * @var array $args { 27 * @type int $limitMaximum number of results to display. Default: 16.28 * @type bool $only_friends If true, only match the current user's friends. Default: false.29 * @type string $term The suggestion service will try to find results that contain this string.30 * Mandatory.27 * @type int $limit Maximum number of results to display. Default: 16. 28 * @type bool $only_friends If true, only match the current user's friends. Default: false. 29 * @type string $term The suggestion service will try to find results that contain this string. 30 * Mandatory. 31 31 * } 32 32 */ … … 42 42 * Validate and sanitise the parameters for the suggestion service query. 43 43 * 44 * @since BuddyPress (2.1.0) 45 * 44 46 * @return true|WP_Error If validation fails, return a WP_Error object. On success, return true (bool). 45 * @since BuddyPress (2.1.0)46 47 */ 47 48 public function validate() { … … 77 78 * Find and return a list of username suggestions that match the query. 78 79 * 80 * @since BuddyPress (2.1.0) 81 * 79 82 * @return array|WP_Error Array of results. If there were problems, returns a WP_Error object. 80 * @since BuddyPress (2.1.0)81 83 */ 82 84 public function get_suggestions() {
Note: See TracChangeset
for help on using the changeset viewer.