WordPress.org

Make WordPress Core

Changeset 29145


Ignore:
Timestamp:
07/13/2014 11:43:18 PM (6 years ago)
Author:
DrewAPicture
Message:

Fill out inline documentation for magic methods added to the WP_Ajax_Response class in [28524].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-ajax-response.php

    r28524 r29145  
    3131
    3232    /**
    33      * Make private properties readable for backwards compatibility
     33     * Make private properties readable for backwards compatibility.
    3434     *
    3535     * @since 4.0.0
    36      * @param string $name
    37      * @return mixed
     36     * @access public
     37     *
     38     * @param string $name Property to get.
     39     * @return mixed Property.
    3840     */
    3941    public function __get( $name ) {
     
    4244
    4345    /**
    44      * Make private properties setable for backwards compatibility
     46     * Make private properties setable for backwards compatibility.
    4547     *
    4648     * @since 4.0.0
    47      * @param string $name
    48      * @param string $value
    49      * @return mixed
     49     * @access public
     50     *
     51     * @param string $name  Property to set.
     52     * @param mixed  $value Property value.
     53     * @return mixed Newly-set property.
    5054     */
    5155    public function __set( $name, $value ) {
     
    5458
    5559    /**
    56      * Make private properties checkable for backwards compatibility
     60     * Make private properties checkable for backwards compatibility.
    5761     *
    5862     * @since 4.0.0
    59      * @param string $name
    60      * @return mixed
     63     * @access public
     64     *
     65     * @param string $name Property to check if set.
     66     * @return bool Whether the property is set.
    6167     */
    6268    public function __isset( $name ) {
     
    6571
    6672    /**
    67      * Make private properties unsetable for backwards compatibility
     73     * Make private properties unsetable for backwards compatibility.
    6874     *
    6975     * @since 4.0.0
    70      * @param string $name
    71      * @return mixed
     76     * @access public
     77     *
     78     * @param string $name Property to unset.
    7279     */
    7380    public function __unset( $name ) {
Note: See TracChangeset for help on using the changeset viewer.