Make WordPress Core


Ignore:
Timestamp:
07/13/2014 11:57:03 PM (10 years ago)
Author:
DrewAPicture
Message:

Fill out inline documentation for magic methods added to the Custom_Background class in [28481], [28521], and [28524].

See #22234 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-background.php

    r28524 r29149  
    6060
    6161    /**
    62      * Make private properties readable for backwards compatibility
     62     * Make private properties readable for backwards compatibility.
    6363     *
    6464     * @since 4.0.0
    65      * @param string $name
    66      * @return mixed
     65     * @access public
     66     *
     67     * @param string $name Property name.
     68     * @return mixed Property.
    6769     */
    6870    public function __get( $name ) {
     
    7173
    7274    /**
    73      * Make private properties setable for backwards compatibility
     75     * Make private properties setable for backwards compatibility.
    7476     *
    7577     * @since 4.0.0
    76      * @param string $name
    77      * @param string $value
    78      * @return mixed
     78     * @access public
     79     *
     80     * @param string $name  Property to set.
     81     * @param mixed  $value Property value.
     82     * @return mixed Newly-set property.
    7983     */
    8084    public function __set( $name, $value ) {
     
    8387
    8488    /**
    85      * Make private properties checkable for backwards compatibility
     89     * Make private properties checkable for backwards compatibility.
    8690     *
    8791     * @since 4.0.0
    88      * @param string $name
    89      * @return mixed
     92     * @access public
     93     *
     94     * @param string $name Property to check if set.
     95     * @return bool Whether the property is set.
    9096     */
    9197    public function __isset( $name ) {
     
    97103     *
    98104     * @since 4.0.0
    99      * @param string $name
    100      * @return mixed
     105     * @access public
     106     *
     107     * @param string $name Property to unset.
    101108     */
    102109    public function __unset( $name ) {
Note: See TracChangeset for help on using the changeset viewer.