WordPress.org

Make WordPress Core


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

Fill out inline documentation for magic methods added to the WP_Query class in [28523].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r29039 r29141  
    39333933
    39343934    /**
    3935      * Make private properties readable for backwards compatibility
     3935     * Make private properties readable for backwards compatibility.
    39363936     *
    39373937     * @since 4.0.0
    3938      * @param string $name
    3939      * @return mixed
     3938     * @access public
     3939     *
     3940     * @param string $name Property to get
     3941     * @return mixed Property.
    39403942     */
    39413943    public function __get( $name ) {
     
    39443946
    39453947    /**
    3946      * Make private properties setable for backwards compatibility
     3948     * Make private properties setable for backwards compatibility.
    39473949     *
    39483950     * @since 4.0.0
    3949      * @param string $name
    3950      * @return mixed
     3951     * @access public
     3952     *
     3953     * @param string $name Property to check if set.
     3954     * @return bool Whether the property is set.
    39513955     */
    39523956    public function __isset( $name ) {
     
    39553959
    39563960    /**
    3957      * Make private properties setable for backwards compatibility
     3961     * Make private properties setable for backwards compatibility.
    39583962     *
    39593963     * @since 4.0.0
    3960      * @param string $name
    3961      * @return mixed
     3964     * @access public
     3965     *
     3966     * @param string $name Property to unset.
    39623967     */
    39633968    public function __unset( $name ) {
     
    39663971
    39673972    /**
    3968      * Make private/protected methods readable for backwards compatibility
     3973     * Make private/protected methods readable for backwards compatibility.
    39693974     *
    39703975     * @since 4.0.0
    3971      * @param string $name
    3972      * @param array $arguments
    3973      * @return mixed
     3976     * @access public
     3977     *
     3978     * @param callable $name      Method to call.
     3979     * @param array    $arguments Arguments to pass when calling.
     3980     * @return mixed|bool Return value of the callback, otherwise false.
    39743981     */
    39753982    public function __call( $name, $arguments ) {
Note: See TracChangeset for help on using the changeset viewer.