Skip to:
Content

BuddyPress.org

Changeset 5999


Ignore:
Timestamp:
04/21/2012 03:47:05 PM (13 years ago)
Author:
djpaul
Message:

Add missing field declarations to classes. Fixes #4159

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-admin.php

    r5967 r5999  
    2121class BP_Admin {
    2222
     23    /**
     24     * Instance of the setup wizard
     25     *
     26     * @since BuddyPress (1.6)
     27     * @var BP_Core_Setup_Wizard
     28     */
     29    public $wizard;
     30
    2331    /** Directory *************************************************************/
    2432
  • trunk/bp-core/bp-core-classes.php

    r5933 r5999  
    109109    var $total_groups;
    110110
    111     /** Public Method*s *******************************************************/
     111    /**
     112     * Profile information for the specific user.
     113     *
     114     * @since BuddyPress (1.2)
     115     * @var array
     116     */
     117    public $profile_data;
     118
     119    /** Public Methods *******************************************************/
    112120
    113121    /**
  • trunk/bp-core/bp-core-component.php

    r5927 r5999  
    6666
    6767    /**
     68     * Search input box placeholder string for the component
     69     *
     70     * @since BuddyPress (1.5)
     71     * @var string
     72     */
     73    public $search_string;
     74
     75    /**
     76     * Component's root slug
     77     *
     78     * @since BuddyPress (1.5)
     79     * @var string
     80     */
     81    public $root_slug;
     82
     83    /**
    6884     * Component loader
    6985     *
  • trunk/bp-forums/bp-forums-template.php

    r5930 r5999  
    983983    var $in_the_loop;
    984984
     985    /**
     986     * Contains a 'total_pages' property holding total number of pages in this loop.
     987     *
     988     * @since BuddyPress (1.2)
     989     * @var stdClass
     990     */
     991    public $pag;
     992
    985993    var $pag_page;
    986994    var $pag_num;
  • trunk/bp-groups/bp-groups-classes.php

    r5974 r5999  
    2424    var $mods;
    2525    var $total_member_count;
     26
     27    /**
     28     * Is the current user a member of this group?
     29     *
     30     * @since BuddyPress (1.2)
     31     * @var bool
     32     */
     33    public $is_member;
     34
     35    /**
     36     * Timestamp of the last activity that happened in this group.
     37     *
     38     * @since BuddyPress (1.2)
     39     * @var string
     40     */
     41    public $last_activity;
     42
     43    /**
     44     * If this is a private or hidden group, does the current user have access?
     45     *
     46     * @since BuddyPress (1.6)
     47     * @var bool
     48     */
     49    public $user_has_access;
    2650
    2751    public function __construct( $id = null ) {
  • trunk/bp-groups/bp-groups-loader.php

    r5990 r5999  
    1616
    1717class BP_Groups_Component extends BP_Component {
     18
     19    /**
     20     * Auto join group when non group member performs group activity
     21     *
     22     * @since BuddyPress (1.5)
     23     * @var bool
     24     */
     25    public $auto_join;
     26
     27    /**
     28     * The group being currently accessed
     29     *
     30     * @since BuddyPress (1.5)
     31     * @var BP_Groups_Group
     32     */
     33    public $current_group;
     34
    1835    /**
    1936     * Default group extension
    2037     *
    2138     * @since BuddyPress (1.6)
     39     * @todo Is this used anywhere? Is this a duplicate of $default_extension?
    2240     */
    2341    var $default_component;
     42
     43    /**
     44     * Default group extension
     45     *
     46     * @since BuddyPress (1.6)
     47     * @var string
     48     */
     49    public $default_extension;
     50
     51    /**
     52     * Illegal group names/slugs
     53     *
     54     * @since BuddyPress (1.5)
     55     * @var array
     56     */
     57    public $forbidden_names;
     58
     59    /**
     60     * Group creation/edit steps (e.g. Details, Settings, Avatar, Invites)
     61     *
     62     * @since BuddyPress (1.5)
     63     * @var array
     64     */
     65    public $group_creation_steps;
     66
     67    /**
     68     * Types of group statuses (Public, Private, Hidden)
     69     *
     70     * @since BuddyPress (1.5)
     71     * @var array
     72     */
     73    public $valid_status;
    2474
    2575    /**
  • trunk/bp-loader.php

    r5997 r5999  
    8383
    8484    /** Paths *****************************************************************/
     85
     86    /**
     87     * The absolute path and filename of this file.
     88     *
     89     * @since BuddyPress (1.6)
     90     * @var string
     91     */
     92    public $file;
    8593
    8694    /**
  • trunk/bp-messages/bp-messages-classes.php

    r5822 r5999  
    1818
    1919    var $unread_count;
     20
     21    /**
     22     * The content of the last message in this thread
     23     *
     24     * @since BuddyPress (1.2)
     25     * @var string
     26     */
     27    public $last_message_content;
     28
     29    /**
     30     * The date of the last message in this thread
     31     *
     32     * @since BuddyPress (1.2)
     33     * @var string
     34     */
     35    public $last_message_date;
     36
     37    /**
     38     * The ID of the last message in this thread
     39     *
     40     * @since BuddyPress (1.2)
     41     * @var int
     42     */
     43    public $last_message_id;
     44
     45    /**
     46     * The subject of the last message in this thread
     47     *
     48     * @since BuddyPress (1.2)
     49     * @var string
     50     */
     51    public $last_message_subject;
     52
     53    /**
     54     * The user ID of the author of the last message in this thread
     55     *
     56     * @since BuddyPress (1.2)
     57     * @var int
     58     */
     59    public $last_sender_id;
     60
     61    /**
     62     * Sort order of the messages in this thread (ASC or DESC).
     63     *
     64     * @since BuddyPress (1.5)
     65     * @var string
     66     */
     67    public $messages_order;
    2068
    2169    function __construct( $thread_id = false, $order = 'ASC' ) {
  • trunk/bp-messages/bp-messages-loader.php

    r5927 r5999  
    1414
    1515class BP_Messages_Component extends BP_Component {
     16    /**
     17     * If this is true, the Message autocomplete will return friends only, unless
     18     * this is set to false, in which any matching users will be returned.
     19     *
     20     * @since BuddyPress (1.5)
     21     * @var bool
     22     */
     23    public $autocomplete_all;
    1624
    1725    /**
  • trunk/bp-xprofile/bp-xprofile-loader.php

    r5927 r5999  
    1616class BP_XProfile_Component extends BP_Component {
    1717    /**
     18     * Profile field types
     19     *
     20     * @since BuddyPress (1.5)
     21     * @var array
     22     */
     23    public $field_types;
     24
     25    /**
    1826     * The acceptable visibility levels for xprofile fields.
     27     *
     28     * @see bp_xprofile_get_visibility_levels()
    1929     * @since 1.6
    20      * @see bp_xprofile_get_visibility_levels()
    2130     */
    2231    var $visibility_levels = array();
Note: See TracChangeset for help on using the changeset viewer.