setAttribute(PARAMGETLOCALBASE_VIID, $id); } public function getLocalParam($id) { $nodes = $this->getChildrenByName(PARAMGETLOCALBASEPARAM_NAME); foreach ($nodes as $node) if ($node->getId() == $id) return $node; return NULL; } public function addLocalParam($id, $minSampling, $maxSampling) { $paramNode = new ParamGetLocalBaseParamNodeClass(); $paramNode->setId($id); $paramNode->setMinSampling($minSampling); $paramNode->setMaxSampling($maxSampling); $this->addChild($paramNode); } } ?>