From 1bf87b2c9e53bf0733b884f32f03d2b46440d8a1 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Sun, 13 Jul 2014 23:54:15 +0000 Subject: [PATCH] Fill out inline documentation for magic methods added to the `WP_List_Table` class in [28493], [28521], and [28524]. See #22234 and #28885. git-svn-id: https://develop.svn.wordpress.org/trunk@29148 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 43 +++++++++++-------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 33ef462ada..a7a0f88319 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -96,57 +96,66 @@ class WP_List_Table { } /** - * Make private properties readable for backwards compatibility + * Make private properties readable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access publc + * + * @param string $name Property to get. + * @return mixed Property. */ public function __get( $name ) { return $this->$name; } /** - * Make private properties setable for backwards compatibility + * Make private properties setable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @param string $value - * @return mixed + * @access public + * + * @param string $name Propert to set. + * @param mixed $value Property value. + * @return mixed Newly-set property. */ public function __set( $name, $value ) { return $this->$name = $value; } /** - * Make private properties checkable for backwards compatibility + * Make private properties checkable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to check if set. + * @return bool Whether the property is set. */ public function __isset( $name ) { return isset( $this->$name ); } /** - * Make private properties unsetable for backwards compatibility + * Make private properties unsetable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to unset. */ public function __unset( $name ) { unset( $this->$name ); } /** - * Make private/protected methods readable for backwards compatibility + * Make private/protected methods readable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @param array $arguments - * @return mixed + * @access public + * + * @param callable $name Method to call. + * @param array $arguments Arguments to pass when calling. + * @return mixed|bool Return value of the callback, false otherwise. */ public function __call( $name, $arguments ) { return call_user_func_array( array( $this, $name ), $arguments );