Changeset 13887 for trunk/src/bp-core/classes/class-bp-theme-compat.php
- Timestamp:
- 06/01/2024 10:19:51 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-theme-compat.php
r13013 r13887 40 40 * 41 41 * @since 1.7.0 42 * 42 43 * @var array 43 44 */ … … 51 52 * @param array $properties Array of properties for BP_Theme_Compat. 52 53 */ 53 public function __construct( Array $properties = array() ) {54 public function __construct( array $properties = array() ) { 54 55 $this->_data = $properties; 55 56 } … … 103 104 */ 104 105 public function __set( $property, $value ) { 105 return $this->_data[ $property] = $value;106 return $this->_data[ $property ] = $value; 106 107 } 107 108 … … 116 117 */ 117 118 public function __get( $property ) { 118 return array_key_exists( $property, $this->_data ) ? $this->_data[ $property] : '';119 return array_key_exists( $property, $this->_data ) ? $this->_data[ $property ] : ''; 119 120 } 120 121
Note: See TracChangeset
for help on using the changeset viewer.