[phpXML] Patches since 1.N.5
Brought to you by:
bs_php,
nigelswinson
From: <nig...@us...> - 2001-10-08 18:22:32
|
Complete list of changes todate. ---------------------------------------------------------------------------= ----- 110c110 < return $this->exportAsXml($absoluteXPath[$index]); --- > return $this->exportAsXml($absoluteXPathArray[$index]); 219c219 < return setAttributes($absoluteXPath, $aNewAttributes); --- > return $this->setAttributes($absoluteXPath, $aNewAttributes); 221c221 < return setAttributes($absoluteXPath, $attributes); --- > return $this->setAttributes($absoluteXPath, $attributes); 248c248 < return setAttributes($absoluteXPath, $attributes); --- > return $this->setAttributes($absoluteXPath, $attributes); 537c537 < return evaluate($xPathQuery, $baseXPath); --- > return $this->evaluate($xPathQuery, $baseXPath); 560,561c560,561 < if(in_array($path,array_keys($this->nodes))) { < return array($path); --- > if(in_array($xPathQuery,array_keys($this->nodes))) { > return array($xPathQuery); 668c668 < * @param string $path Full document path of the node, the attribut= es --- > * @param string $xPathQuery Full document path of the node, the at= tributes 675c675 < return setAttributes($absoluteXPath, array($name =3D> $value)); --- > return $this->setAttributes($absoluteXPath, array($name =3D> $value)); 679,681c679,682 < * Version of setAttribute() that sets multiple windows. < *=20 < * @see setAttribute() --- > * Version of setAttribute() that sets multiple attributes. > * > * @param $attributes associative array of attributes to set. > * @see setAttribute() 683c684 < function setAttributes($absoluteXPath, $attribute) { --- > function setAttributes($absoluteXPath, $attributes) { 687,690c688,692 < if (isSet($this->nodes[$path]['attributes'])) { < $this->nodes[$path]['attributes'] =3D array_merge($this->nodes[$pat= h]['attributes'], $attributes); < } else {=20 < $this->nodes[$path]['attributes'] =3D $attributes; --- > if (isSet($this->nodes[$absoluteXPath]['attributes'])) { > $this->nodes[$absoluteXPath]['attributes'] =3D > array_merge($this->nodes [$absoluteXPath]['attributes'],$attribute= s); > } else { > $this->nodes[$absoluteXPath]['attributes'] =3D $attributes; 692c694,695 < }=20 --- > } >=20 712c715 < unset($this->nodes[$path]['attributes']); --- > unset($this->nodes[$absoluteXPath]['attributes']); 719c722 < unset($this->nodes[$path]['attributes'][$attribute]); --- > unset($this->nodes[$absoluteXPath]['attributes'][$attribute]); 725c728 < unset($this->nodes[$path]['attributes'][$name]); --- > unset($this->nodes[$absoluteXPath]['attributes'][$name]); 769c772 < return $this->nodes[$path]['text']; --- > return $this->nodes[$absoluteXPath]['text']; 816c819 < $ret =3D implode('', $this->nodes[$path]['text']); --- > $ret =3D implode('', $this->nodes[$absoluteXPath]['text']); 838c841 < return _setContent($absoluteXPath, $value); --- > return $this->_setContent($absoluteXPath, $value); 849c852 < * @param string $path Full document path of the node. *READONLY* --- > * @param string $xPathQuery Full document path of the node. *READO= NLY* 854c857 < return _setContent($absoluteXPath, $value, TRUE); --- > return $this->_setContent($absoluteXPath, $value, TRUE); 863c866 < * @param string $path Full document path of the node. *READONLY* --- > * @param string $xPathQuery Full document path of the node. *READO= NLY* 879c882 < _setContent($absoluteXPath, $newContent); --- > $this->_setContent($absoluteXPath, $newContent); 1997c2000 < if (ereg('^\w*$', $predicate)) { --- > if (ereg('^\w*$', $predicate)) {=20 3705c3708 < * @param string $path Full document path of the node. *READONLY* --- > * @param string $xPathQuery Full document path of the node. *READO= NLY* ---------------------------------------------------------------------------= ----- CVS was sick, so all these changes are as yet not in cvs... Nigel =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D For the most recent version of phpxml, V1.N.X, and an archive of this list = visit: http://www.sourceforge.net/projects/phpxmldb -- This message has been sent through the <phpXML/> user discussion list. To u= nsubscribe, please visit https://sslsites.de/mailinglisten/user/user@lists.= phpxml.org/ |