Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 01:31:37 AM (3 years ago)
Author:
espellcaste
Message:

Properly declare missing properties to several classes.

Closes https://github.com/buddypress/buddypress/pull/54
See #7018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-template.php

    r13184 r13399  
    2222     * The loop iterator.
    2323     *
     24     * @since 1.2.0
    2425     * @var int
    25      * @since 1.2.0
    2626     */
    2727    public $current_group = -1;
     
    3030     * The number of groups returned by the paged query.
    3131     *
     32     * @since 1.2.0
    3233     * @var int
    33      * @since 1.2.0
    3434     */
    3535    public $group_count;
     
    3838     * Array of groups located by the query.
    3939     *
     40     * @since 1.2.0
    4041     * @var array
    41      * @since 1.2.0
    4242     */
    4343    public $groups;
     
    4646     * The group object currently being iterated on.
    4747     *
     48     * @since 1.2.0
    4849     * @var object
    49      * @since 1.2.0
    5050     */
    5151    public $group;
     
    5454     * A flag for whether the loop is currently being iterated.
    5555     *
     56     * @since 1.2.0
    5657     * @var bool
    57      * @since 1.2.0
    5858     */
    5959    public $in_the_loop;
     
    6262     * The page number being requested.
    6363     *
    64      * @var string
    65      * @since 1.2.0
     64     * @since 1.2.0
     65     * @var string
    6666     */
    6767    public $pag_page;
     
    7070     * The number of items being requested per page.
    7171     *
    72      * @var string
    73      * @since 1.2.0
     72     * @since 1.2.0
     73     * @var string
    7474     */
    7575    public $pag_num;
    7676
    7777    /**
     78     * URL argument used for the pagination param.
     79     *
     80     * @since 1.2.0
     81     * @var string
     82     */
     83    public $pag_arg;
     84
     85    /**
    7886     * An HTML string containing pagination links.
    7987     *
    80      * @var string
    81      * @since 1.2.0
     88     * @since 1.2.0
     89     * @var string
    8290     */
    8391    public $pag_links;
     
    8694     * The total number of groups matching the query parameters.
    8795     *
     96     * @since 1.2.0
    8897     * @var int
    89      * @since 1.2.0
    9098     */
    9199    public $total_group_count;
     
    94102     * Whether the template loop is for a single group page.
    95103     *
     104     * @since 1.2.0
    96105     * @var bool
    97      * @since 1.2.0
    98106     */
    99107    public $single_group = false;
     
    102110     * Field to sort by.
    103111     *
    104      * @var string
    105      * @since 1.2.0
     112     * @since 1.2.0
     113     * @var string
    106114     */
    107115    public $sort_by;
     
    110118     * Sort order.
    111119     *
    112      * @var string
    113      * @since 1.2.0
     120     * @since 1.2.0
     121     * @var string
    114122     */
    115123    public $order;
Note: See TracChangeset for help on using the changeset viewer.