component_name = $info->component_name; $this->version = $info->version; $this->title = $info->title; $this->author = $info->author; $this->description = $info->description; if($info->extra_vars) { foreach($info->extra_vars as $key => $val) { $this->{$key} = trim($val->value); } } } } ?>