Changeset 31145
- Timestamp:
- 01/11/2015 10:03:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r30722 r31145 25 25 * Cached list of local filepaths to mapped remote filepaths. 26 26 * 27 * @access private28 27 * @since 2.7.0 29 28 * @var array 30 29 */ 31 p rivate$cache = array();30 public $cache = array(); 32 31 33 32 /** … … 39 38 */ 40 39 public $method = ''; 41 42 /**43 * Make private properties readable for backwards compatibility.44 *45 * @since 4.0.046 * @access public47 *48 * @param string $name Property to get.49 * @return mixed Property.50 */51 public function __get( $name ) {52 return $this->$name;53 }54 55 /**56 * Make private properties settable for backwards compatibility.57 *58 * @since 4.0.059 * @access public60 *61 * @param string $name Property to set.62 * @param mixed $value Property value.63 * @return mixed Newly-set property.64 */65 public function __set( $name, $value ) {66 return $this->$name = $value;67 }68 69 /**70 * Make private properties checkable for backwards compatibility.71 *72 * @since 4.0.073 * @access public74 *75 * @param string $name Property to check if set.76 * @return bool Whether the property is set.77 */78 public function __isset( $name ) {79 return isset( $this->$name );80 }81 82 /**83 * Make private properties un-settable for backwards compatibility.84 *85 * @since 4.0.086 * @access public87 *88 * @param string $name Property to unset.89 */90 public function __unset( $name ) {91 unset( $this->$name );92 }93 40 94 41 /** … … 281 228 * Expects Windows sanitized path. 282 229 * 283 * @access private284 230 * @since 2.7.0 285 231 * … … 440 386 * Determine if the string provided contains binary characters. 441 387 * 442 * @access private443 388 * @since 2.7.0 444 389 *
Note: See TracChangeset
for help on using the changeset viewer.