1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
....
$nodeUniqueName = $GLOBALS['arrayConfigClassName'][2] . //OK
$GLOBALS['pathSepCharToUniqueNodeNameID'] . $arrayValue["uniquename"]; //OK
$valueInPost = getValueInPOST($nodeUniqueName); //OK
if(isset($valueInPost)){
//update or create node
updateValueBasedOnXmlPathArray($nodeUniqueName, $valueInPost, $nodename, $arrayValue["path"], $config_XpathdomXML);
}
else{
//delete node removeNodeBasedOnXmlPathArray($nodeUniqueName, $nodename, $arrayValue["path"], $config_XpathdomXML);
}
.... |
Partager