WordPress.org

Make WordPress Core

Changeset 29139


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

Fill out inline documentation for magic methods added to the WP_Text_Diff_Renderer_Table class in [28525].

See #27881, #22234 and #28885.

File:
1 edited

Legend:

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

    r28525 r29139  
    432432
    433433    /**
    434      * Make private properties readable for backwards compatibility
     434     * Make private properties readable for backwards compatibility.
    435435     *
    436436     * @since 4.0.0
    437      * @param string $name
    438      * @return mixed
     437     * @access public
     438     *
     439     * @param string $name Property to get.
     440     * @return mixed Property.
    439441     */
    440442    public function __get( $name ) {
     
    443445
    444446    /**
    445      * Make private properties setable for backwards compatibility
     447     * Make private properties setable for backwards compatibility.
    446448     *
    447449     * @since 4.0.0
    448      * @param string $name
    449      * @param string $value
    450      * @return mixed
     450     * @access public
     451     *
     452     * @param string $name  Property to check if set.
     453     * @param mixed  $value Property value.
     454     * @return mixed Newly-set property.
    451455     */
    452456    public function __set( $name, $value ) {
     
    455459
    456460    /**
    457      * Make private properties checkable for backwards compatibility
     461     * Make private properties checkable for backwards compatibility.
    458462     *
    459463     * @since 4.0.0
    460      * @param string $name
    461      * @return mixed
     464     * @access public
     465     *
     466     * @param string $name Property to check if set.
     467     * @return bool Whether the property is set.
    462468     */
    463469    public function __isset( $name ) {
     
    466472
    467473    /**
    468      * Make private properties unsetable for backwards compatibility
     474     * Make private properties unsetable for backwards compatibility.
    469475     *
    470476     * @since 4.0.0
    471      * @param string $name
    472      * @return mixed
     477     * @access public
     478     *
     479     * @param string $name Property to unset.
    473480     */
    474481    public function __unset( $name ) {
     
    477484
    478485    /**
    479      * Make private/protected methods readable for backwards compatibility
     486     * Make private/protected methods readable for backwards compatibility.
    480487     *
    481488     * @since 4.0.0
    482      * @param string $name
    483      * @param array $arguments
    484      * @return mixed
     489     * @access public
     490     *
     491     * @param callable $name      Method to call.
     492     * @param array    $arguments Arguments to pass when calling.
     493     * @return mixed|bool Return value of the callback, false otherwise.
    485494     */
    486495    public function __call( $name, $arguments ) {
Note: See TracChangeset for help on using the changeset viewer.