diff --git a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php index 0a03b75..025a7d2 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php @@ -115,9 +115,10 @@ class IHMParamManagerClass $ytitle = !empty($parameter["name"]) ? $parameter["name"] : $parameter["id"]; $flag = $parameter["id"]; $description = $parameter["description"]; + $statusParam = $parameter["status"]; $desc_parts = array(); - $defs = explode("-",$description); - if (empty($description)) { + $defs = explode("-",$statusParam); + if (empty($statusParam)) { //No status defined => Read catalog as TT $info["info"]["isCatalog"] = FALSE; $flag = ""; diff --git a/src/InputOutput/IHMImpl/Tools/IHMTTCatLoaderClass.php b/src/InputOutput/IHMImpl/Tools/IHMTTCatLoaderClass.php index 547f656..ec0228b 100644 --- a/src/InputOutput/IHMImpl/Tools/IHMTTCatLoaderClass.php +++ b/src/InputOutput/IHMImpl/Tools/IHMTTCatLoaderClass.php @@ -112,6 +112,7 @@ class IHMTTCatLoaderClass "type" => $parameterNode->getAttribute("type"), "unit" => $parameterNode->getAttribute("unit"), "description" => $parameterNode->getAttribute("description"), + "status" => $parameterNode->getAttribute("status"), "ucd" => $parameterNode->getAttribute("ucd"), "utype" => $parameterNode->getAttribute("utype"), ); -- libgit2 0.21.2