Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/18/2016 05:18:23 AM (9 years ago)
Author:
tw2113
Message:

Some more docs cleanup and plenty of @since tag additions for Groups Component.

See #6401.

File:
1 edited

Legend:

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

    r10417 r10454  
    8585 * differently. The legacy method is still supported, though deprecated.
    8686 *
    87  * @package BuddyPress
    88  * @subpackage Groups
    8987 * @since 1.1.0
    9088 */
     
    144142     * The slug of the current extension.
    145143     *
     144     * @since 1.1.0
    146145     * @var string
    147146     */
     
    151150     * The translatable name of the current extension.
    152151     *
     152     * @since 1.1.0
    153153     * @var string
    154154     */
     
    158158     * The visibility of the extension tab. 'public' or 'private'.
    159159     *
     160     * @since 1.1.0
    160161     * @var string
    161162     */
     
    165166     * The numeric position of the main nav item.
    166167     *
     168     * @since 1.1.0
    167169     * @var int
    168170     */
     
    172174     * Whether to show the nav item.
    173175     *
     176     * @since 1.1.0
    174177     * @var bool
    175178     */
     
    195198     * The text of the nav item. Defaults to self::name.
    196199     *
     200     * @since 1.1.0
    197201     * @var string
    198202     */
     
    204208     * Default: 'groups_custom_group_boxes'.
    205209     *
     210     * @since 1.1.0
    206211     * @var string
    207212     */
     
    213218     * Default: 'groups/single/plugins'.
    214219     *
     220     * @since 1.1.0
    215221     * @var string
    216222     */
     
    273279     * The content of the group tab.
    274280     *
     281     * @since 1.1.0
     282     *
    275283     * @param int|null $group_id ID of the group to display.
    276284     */
     
    278286
    279287    /**
    280      * Content displayed in a widget sidebar, if applicable
     288     * Content displayed in a widget sidebar, if applicable.
     289     *
     290     * @since 1.1.0
    281291     */
    282292    public function widget_display() {}
     
    652662     * Check whether the current user meets an access condition.
    653663     *
     664     * @since 2.1.0
     665     *
    654666     * @param string $access_condition 'anyone', 'loggedin', 'member',
    655667     *                                 'mod', 'admin' or 'noone'.
     
    759771    /**
    760772     * Hook the main display method, and loads the template file.
     773     *
     774     * @since 1.1.0
    761775     */
    762776    public function _display_hook() {
     
    16701684 * Register a new Group Extension.
    16711685 *
     1686 * @since 1.1.0
     1687 *
    16721688 * @param string $group_extension_class Name of the Extension class.
    16731689 * @return false|null Returns false on failure, otherwise null.
Note: See TracChangeset for help on using the changeset viewer.