Skip to:
Content

BuddyPress.org

Changeset 11116


Ignore:
Timestamp:
09/19/2016 06:11:13 PM (8 years ago)
Author:
r-a-y
Message:

Core: Update PHPDoc for BP_Button class.

Props hnla.

See #7226.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-button.php

    r11114 r11116  
    5353     * The button ID.
    5454     *
     55     * @since 1.2.6
     56     *
    5557     * @var string
    5658     */
     
    6062     * The name of the component that the button belongs to.
    6163     *
     64     * @since 1.2.6
     65     *
    6266     * @var string
    6367     */
     
    6771     * Does the user need to be logged in to see this button?
    6872     *
     73     * @since 1.2.6
     74     *
    6975     * @var bool
    7076     */
     
    7480     * Whether the button should be hidden when viewing your own profile.
    7581     *
     82     * @since 1.2.6
     83     *
    7684     * @var bool
    7785     */
     
    121129     * The contents of the button link.
    122130     *
     131     * @since 1.2.6
     132     *
    123133     * @var string
    124134     */
    125135    public $link_text = '';
    126136
    127     /** HTML result
     137    /**
     138     * HTML result.
     139     *
     140     * @since 1.2.6
    128141     *
    129142     * @var string
     
    136149     * The type of DOM element to use for a wrapper.
    137150     *
     151     * @since      1.2.6
    138152     * @deprecated 2.7.0 Use $parent_element instead.
    139153     *
     
    145159     * The DOM class of the button wrapper.
    146160     *
     161     * @since      1.2.6
    147162     * @deprecated 2.7.0 Set 'class' key in $parent_attr instead.
    148163     *
     
    154169     * The DOM ID of the button wrapper.
    155170     *
     171     * @since      1.2.6
    156172     * @deprecated 2.7.0 Set 'id' key in $parent_attr instead.
    157173     *
     
    163179     * The destination link of the button.
    164180     *
     181     * @since      1.2.6
    165182     * @deprecated 2.7.0 Set 'href' key in $button_attr instead.
    166183     *
     
    172189     * The DOM class of the button link.
    173190     *
     191     * @since      1.2.6
    174192     * @deprecated 2.7.0 Set 'class' key in $button_attr instead.
    175193     *
     
    181199     * The DOM ID of the button link.
    182200     *
     201     * @since      1.2.6
    183202     * @deprecated 2.7.0 Set 'id' key in $button_attr instead.
    184203     *
     
    190209     * The DOM rel value of the button link.
    191210     *
     211     * @since      1.2.6
    192212     * @deprecated 2.7.0 Set 'rel' key in $button_attr instead.
    193213     *
     
    199219     * Title of the button link.
    200220     *
     221     * @since      1.2.6
    201222     * @deprecated 2.7.0 Set 'title' key in $button_attr instead.
    202223     *
Note: See TracChangeset for help on using the changeset viewer.