Changeset 31137 for trunk/src/wp-includes/class-wp-walker.php
- Timestamp:
- 01/10/2015 11:43:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-walker.php
r29479 r31137 26 26 * 27 27 * @since 2.1.0 28 * @access protected29 28 * @var array 30 29 */ 31 p rotected$db_fields;30 public $db_fields; 32 31 33 32 /** … … 35 34 * 36 35 * @since 2.7.0 37 * @access protected38 36 * @var int 39 37 */ 40 p rotected$max_pages = 1;38 public $max_pages = 1; 41 39 42 40 /** … … 50 48 */ 51 49 protected $has_children; 52 53 /**54 * Make private properties readable for backwards compatibility.55 *56 * @since 4.0.057 * @access public58 *59 * @param string $name Property to get.60 * @return mixed Property.61 */62 public function __get( $name ) {63 return $this->$name;64 }65 66 /**67 * Make private properties settable for backwards compatibility.68 *69 * @since 4.0.070 * @access public71 *72 * @param string $name Property to set.73 * @param mixed $value Property value.74 * @return mixed Newly-set property.75 */76 public function __set( $name, $value ) {77 return $this->$name = $value;78 }79 80 /**81 * Make private properties checkable for backwards compatibility.82 *83 * @since 4.0.084 * @access public85 *86 * @param string $name Property to check if set.87 * @return bool Whether the property is set.88 */89 public function __isset( $name ) {90 return isset( $this->$name );91 }92 93 /**94 * Make private properties un-settable for backwards compatibility.95 *96 * @since 4.0.097 * @access public98 *99 * @param string $name Property to unset.100 */101 public function __unset( $name ) {102 unset( $this->$name );103 }104 50 105 51 /**
Note: See TracChangeset
for help on using the changeset viewer.