Changeset 10012 for trunk/src/bp-core/classes/class-bp-suggestions.php
- Timestamp:
- 07/12/2015 12:49:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-suggestions.php
r9819 r10012 70 70 * 71 71 * @param array $args { 72 * @type int $limit Maximum number of results to display. Optional, default: 16.73 * @type string $type The name of the suggestion service to use for the request. Mandatory.74 * @type string $term The suggestion service will try to find results that contain this string.75 * Mandatory.72 * @type int $limit Maximum number of results to display. Optional, default: 16. 73 * @type string $type The name of the suggestion service to use for the request. Mandatory. 74 * @type string $term The suggestion service will try to find results that contain this string. 75 * Mandatory. 76 76 * } 77 77 * @since BuddyPress (2.1.0) … … 87 87 * If validation fails, you must return a WP_Error object. 88 88 * 89 * @since BuddyPress (2.1.0) 90 * 89 91 * @return true|WP_Error If validation fails, return a WP_Error object. On success, return true (bool). 90 * @since BuddyPress (2.1.0)91 92 */ 92 93 public function validate() { … … 134 135 * For example: { 'ID': 'admin', 'image': 'http://example.com/logo.png', 'name': 'Name Surname' } 135 136 * 137 * @since BuddyPress (2.1.0) 138 * 136 139 * @return array|WP_Error Array of results. If there were problems, returns a WP_Error object. 137 * @since BuddyPress (2.1.0)138 140 */ 139 141 abstract public function get_suggestions();
Note: See TracChangeset
for help on using the changeset viewer.