Skip to:
Content

BuddyPress.org


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

    r10148 r10248  
    1818     * ID of the group.
    1919     *
    20      * @access public
    2120     * @var int
    2221     */
     
    2625     * User ID of the group's creator.
    2726     *
    28      * @access public
    2927     * @var int
    3028     */
     
    3432     * Name of the group.
    3533     *
    36      * @access public
    3734     * @var string
    3835     */
     
    4239     * Group slug.
    4340     *
    44      * @access public
    4541     * @var string
    4642     */
     
    5046     * Group description.
    5147     *
    52      * @access public
    5348     * @var string
    5449     */
     
    6055     * Core statuses are 'public', 'private', and 'hidden'.
    6156     *
    62      * @access public
    6357     * @var string
    6458     */
     
    6862     * Should (legacy) bbPress forums be enabled for this group?
    6963     *
    70      * @access public
    7164     * @var int
    7265     */
     
    7669     * Date the group was created.
    7770     *
    78      * @access public
    7971     * @var string
    8072     */
     
    8476     * Data about the group's admins.
    8577     *
    86      * @access public
    8778     * @var array
    8879     */
     
    9283     * Data about the group's moderators.
    9384     *
    94      * @access public
    9585     * @var array
    9686     */
     
    10090     * Total count of group members.
    10191     *
    102      * @access public
    10392     * @var int
    10493     */
     
    952941     *
    953942     * @since 1.8.0
    954      * @access protected
    955943     *
    956944     * @param array $meta_query An array of meta_query filters. See the
     
    1000988     *
    1001989     * @since 1.8.0
    1002      * @access protected
    1003990     *
    1004991     * @param string $type The 'type' shorthand param.
     
    11161103     *
    11171104     * @since 1.8.0
    1118      * @access protected
    11191105     *
    11201106     * @param string $orderby Orderby term as passed to get().
Note: See TracChangeset for help on using the changeset viewer.