$name = $value; } } public function get_property($name){ if(property_exists($this, $name)){ return $this->$name; }else{ return ''; } } } endif;