Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2015 12:49:36 AM (9 years ago)
Author:
tw2113
Message:

First pass at BP-Core docs cleanup.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-members-suggestions.php

    r9819 r10012  
    2525     * @since BuddyPress (2.1.0)
    2626     * @var array $args {
    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.
     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.
    3131     * }
    3232     */
     
    4242     * Validate and sanitise the parameters for the suggestion service query.
    4343     *
     44     * @since BuddyPress (2.1.0)
     45     *
    4446     * @return true|WP_Error If validation fails, return a WP_Error object. On success, return true (bool).
    45      * @since BuddyPress (2.1.0)
    4647     */
    4748    public function validate() {
     
    7778     * Find and return a list of username suggestions that match the query.
    7879     *
     80     * @since BuddyPress (2.1.0)
     81     *
    7982     * @return array|WP_Error Array of results. If there were problems, returns a WP_Error object.
    80      * @since BuddyPress (2.1.0)
    8183     */
    8284    public function get_suggestions() {
Note: See TracChangeset for help on using the changeset viewer.