Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (8 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-group-extension.php

    r10148 r10248  
    9696     *
    9797     * @since 1.8.0
    98      * @access public
    9998     * @var array
    10099     */
     
    105104     *
    106105     * @since 1.8.0
    107      * @access public
    108106     * @var string
    109107     */
     
    114112     *
    115113     * @since 1.8.0
    116      * @access public
    117114     * @var ReflectionClass
    118115     */
     
    123120     *
    124121     * @since 1.8.0
    125      * @access public
    126122     * @var array
    127123     */
     
    132128     *
    133129     * @since 2.1.0
    134      * @access public
    135130     * @var array
    136131     */
     
    141136     *
    142137     * @since 1.8.0
    143      * @access public
    144138     * @var int
    145139     */
     
    149143     * The slug of the current extension.
    150144     *
    151      * @access public
    152145     * @var string
    153146     */
     
    157150     * The translatable name of the current extension.
    158151     *
    159      * @access public
    160152     * @var string
    161153     */
     
    165157     * The visibility of the extension tab. 'public' or 'private'.
    166158     *
    167      * @access public
    168159     * @var string
    169160     */
     
    173164     * The numeric position of the main nav item.
    174165     *
    175      * @access public
    176166     * @var int
    177167     */
     
    181171     * Whether to show the nav item.
    182172     *
    183      * @access public
    184173     * @var bool
    185174     */
     
    190179     *
    191180     * @since 2.1.0
    192      * @access public
    193181     * @var bool
    194182     */
     
    199187     *
    200188     * @since 2.1.0
    201      * @access public
    202189     * @var bool
    203190     */
     
    207194     * The text of the nav item. Defaults to self::name.
    208195     *
    209      * @access public
    210196     * @var string
    211197     */
     
    217203     * Default: 'groups_custom_group_boxes'.
    218204     *
    219      * @access public
    220205     * @var string
    221206     */
     
    227212     * Default: 'groups/single/plugins'.
    228213     *
    229      * @access public
    230214     * @var string
    231215     */
     
    238222     *
    239223     * @since 1.8.0
    240      * @access protected
    241224     * @var bool
    242225     */
     
    247230     *
    248231     * @since 1.8.0
    249      * @access protected
    250232     * @var array
    251233     */
     
    259241     *
    260242     * @since 1.8.0
    261      * @access protected
    262243     * @var array
    263244     */
     
    268249     *
    269250     * @since 2.1.0
    270      * @access protected
    271251     * @var string
    272252     */
     
    277257     *
    278258     * @since 1.8.0
    279      * @access protected
    280259     * @var array
    281260     */
     
    10821061     *
    10831062     * @since 1.8.0
    1084      * @access public So that do_action() has access. Do not call directly.
    10851063     *
    10861064     * @see BP_Group_Extension::setup_edit_hooks()
Note: See TracChangeset for help on using the changeset viewer.