id = ''; $this->caption = ''; $this->description = ''; $this->isvisible = true; $this->sortorder = 0; $this->values = array(); $this->isgroup = true; } public function __get( $member ) { if ( isset( $this->data[ $member ] ) ) { return $this->data[ $member ]; } } public function __set( $member, $value ) { // if (isset($this->data[$member])) { $this->data[ $member ] = $value; //} } } ?>