WordPress.org

Make WordPress Core

Changeset 29140


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

Fill out inline documentation for magic methods added to the WP_User_Query class in [28528].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

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

    r29116 r29140  
    841841
    842842    /**
    843      * Make private properties readable for backwards compatibility
     843     * Make private properties readable for backwards compatibility.
    844844     *
    845845     * @since 4.0.0
    846      * @param string $name
    847      * @return mixed
     846     * @access public
     847     *
     848     * @param string $name Property to get
     849     * @return mixed Property.
    848850     */
    849851    public function __get( $name ) {
     
    852854
    853855    /**
    854      * Make private properties setable for backwards compatibility
     856     * Make private properties setable for backwards compatibility.
    855857     *
    856858     * @since 4.0.0
    857      * @param string $name
    858      * @param string $value
    859      * @return mixed
     859     * @access public
     860     *
     861     * @param string $name  Property to set.
     862     * @param mixed  $value Property value.
     863     * @return mixed Newly-set property.
    860864     */
    861865    public function __set( $name, $value ) {
     
    864868
    865869    /**
    866      * Make private properties checkable for backwards compatibility
     870     * Make private properties checkable for backwards compatibility.
    867871     *
    868872     * @since 4.0.0
    869      * @param string $name
    870      * @return mixed
     873     * @access public
     874     *
     875     * @param string $name Property to check if set.
     876     * @return bool Whether the property is set.
    871877     */
    872878    public function __isset( $name ) {
     
    875881
    876882    /**
    877      * Make private properties unsetable for backwards compatibility
     883     * Make private properties unsetable for backwards compatibility.
    878884     *
    879885     * @since 4.0.0
    880      * @param string $name
    881      * @return mixed
     886     * @access public
     887     *
     888     * @param string $name Property to unset.
    882889     */
    883890    public function __unset( $name ) {
     
    889896     *
    890897     * @since 4.0.0
    891      * @param string $name
    892      * @param array $arguments
    893      * @return mixed
     898     * @access public
     899     *
     900     * @param callable $name      Method to call.
     901     * @param array    $arguments Arguments to pass when calling.
     902     * @return mixed|bool Return value of the callback, false otherwise.
    894903     */
    895904    public function __call( $name, $arguments ) {
Note: See TracChangeset for help on using the changeset viewer.