Make WordPress Core


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

Fill out inline documentation for magic methods added to the WP_MatchesMapRegex class in [28516].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

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

    r28524 r29142  
    664664
    665665    /**
    666      * Make private properties readable for backwards compatibility
     666     * Make private properties readable for backwards compatibility.
    667667     *
    668668     * @since 4.0.0
    669      * @param string $name
    670      * @return mixed
     669     * @access public
     670     *
     671     * @param string $name Property to get.
     672     * @return mixed Property.
    671673     */
    672674    public function __get( $name ) {
     
    675677
    676678    /**
    677      * Make private properties setable for backwards compatibility
     679     * Make private properties setable for backwards compatibility.
    678680     *
    679681     * @since 4.0.0
    680      * @param string $name
    681      * @param string $value
    682      * @return mixed
     682     * @access public
     683     *
     684     * @param string $name  Property to set.
     685     * @param mixed  $value Property value.
     686     * @return mixed Newly-set property.
    683687     */
    684688    public function __set( $name, $value ) {
     
    687691
    688692    /**
    689      * Make private properties checkable for backwards compatibility
     693     * Make private properties checkable for backwards compatibility.
    690694     *
    691695     * @since 4.0.0
    692      * @param string $name
    693      * @return mixed
     696     * @access public
     697     *
     698     * @param string $name Property to check if set.
     699     * @return bool Whether the property is set.
    694700     */
    695701    public function __isset( $name ) {
     
    698704
    699705    /**
    700      * Make private properties unsetable for backwards compatibility
     706     * Make private properties unsetable for backwards compatibility.
    701707     *
    702708     * @since 4.0.0
    703      * @param string $name
    704      * @return mixed
     709     * @access public
     710     *
     711     * @param string $name Property to unset.
    705712     */
    706713    public function __unset( $name ) {
     
    709716
    710717    /**
    711      * Make private/protected methods readable for backwards compatibility
     718     * Make private/protected methods readable for backwards compatibility.
    712719     *
    713720     * @since 4.0.0
    714      * @param string $name
    715      * @param array $arguments
    716      * @return mixed
     721     * @access public
     722     *
     723     * @param callable $name      Method to call.
     724     * @param array    $arguments Arguments to pass when calling.
     725     * @return mixed|bool Return value of the callback, false otherwise.
    717726     */
    718727    public function __call( $name, $arguments ) {
Note: See TracChangeset for help on using the changeset viewer.