Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (10 years ago)
Author:
djpaul
Message:

phpdoc: remove obsolete @access public|protected|private statements.

These should only be used on procedural functions that, for legacy
reasons, pretend they are private by prefacing their name with an
underscore.

As modern PHP parsers and IDEs use reflections to figure out the
visibility scope of methods and properties by looking at the actual
code, there’s also no bonus in keeping these purely for documentation.

File:
1 edited

Legend:

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

    r10227 r10248  
    1818     * ID of the membership.
    1919     *
    20      * @access public
    2120     * @var int
    2221     */
     
    2625     * ID of the group associated with the membership.
    2726     *
    28      * @access public
    2927     * @var int
    3028     */
     
    3432     * ID of the user associated with the membership.
    3533     *
    36      * @access public
    3734     * @var int
    3835     */
     
    4239     * ID of the user whose invitation initiated the membership.
    4340     *
    44      * @access public
    4541     * @var int
    4642     */
     
    5046     * Whether the member is an admin of the group.
    5147     *
    52      * @access public
    5348     * @var int
    5449     */
     
    5853     * Whether the member is a mod of the group.
    5954     *
    60      * @access public
    6155     * @var int
    6256     */
     
    6660     * Whether the member is banned from the group.
    6761     *
    68      * @access public
    6962     * @var int
    7063     */
     
    7669     * Eg, 'Group Admin'.
    7770     *
    78      * @access public
    7971     * @var int
    8072     */
     
    8678     * This value is updated when, eg, invitations are accepted.
    8779     *
    88      * @access public
    8980     * @var string
    9081     */
     
    9485     * Whether the membership has been confirmed.
    9586     *
    96      * @access public
    9787     * @var int
    9888     */
     
    10595     * include when requesting membership to a private group.
    10696     *
    107      * @access public
    10897     * @var string
    10998     */
     
    118107     * invitee has not yet been notified.
    119108     *
    120      * @access public
    121109     * @var int
    122110     */
     
    126114     * WP_User object representing the membership's user.
    127115     *
    128      * @access public
    129116     * @var WP_User
    130117     */
Note: See TracChangeset for help on using the changeset viewer.