Make WordPress Core


Ignore:
Timestamp:
07/13/2014 11:54:15 PM (11 years ago)
Author:
DrewAPicture
Message:

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

See #22234 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r29137 r29148  
    9797
    9898    /**
    99      * Make private properties readable for backwards compatibility
     99     * Make private properties readable for backwards compatibility.
    100100     *
    101101     * @since 4.0.0
    102      * @param string $name
    103      * @return mixed
     102     * @access publc
     103     *
     104     * @param string $name Property to get.
     105     * @return mixed Property.
    104106     */
    105107    public function __get( $name ) {
     
    108110
    109111    /**
    110      * Make private properties setable for backwards compatibility
     112     * Make private properties setable for backwards compatibility.
    111113     *
    112114     * @since 4.0.0
    113      * @param string $name
    114      * @param string $value
    115      * @return mixed
     115     * @access public
     116     *
     117     * @param string $name  Propert to set.
     118     * @param mixed  $value Property value.
     119     * @return mixed Newly-set property.
    116120     */
    117121    public function __set( $name, $value ) {
     
    120124
    121125    /**
    122      * Make private properties checkable for backwards compatibility
     126     * Make private properties checkable for backwards compatibility.
    123127     *
    124128     * @since 4.0.0
    125      * @param string $name
    126      * @return mixed
     129     * @access public
     130     *
     131     * @param string $name Property to check if set.
     132     * @return bool Whether the property is set.
    127133     */
    128134    public function __isset( $name ) {
     
    131137
    132138    /**
    133      * Make private properties unsetable for backwards compatibility
     139     * Make private properties unsetable for backwards compatibility.
    134140     *
    135141     * @since 4.0.0
    136      * @param string $name
    137      * @return mixed
     142     * @access public
     143     *
     144     * @param string $name Property to unset.
    138145     */
    139146    public function __unset( $name ) {
     
    142149
    143150    /**
    144      * Make private/protected methods readable for backwards compatibility
     151     * Make private/protected methods readable for backwards compatibility.
    145152     *
    146153     * @since 4.0.0
    147      * @param string $name
    148      * @param array $arguments
    149      * @return mixed
     154     * @access public
     155     *
     156     * @param callable $name      Method to call.
     157     * @param array    $arguments Arguments to pass when calling.
     158     * @return mixed|bool Return value of the callback, false otherwise.
    150159     */
    151160    public function __call( $name, $arguments ) {
Note: See TracChangeset for help on using the changeset viewer.