Class Horde_Pear_Package_Xml
Handles package.xml files.
Copyright 2011-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Package: Pear
Category: Horde
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Pear
Located at Horde/Pear/Package/Xml.php
Category: Horde
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Pear
Located at Horde/Pear/Package/Xml.php
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
mixed
|
|
public
null
|
|
public
null
|
#
syncCurrentVersion( )
Synchronizes the current version information with the release information in the changelog. |
public
null
|
|
public
null
|
#
setVersion( string $rel_version = null, string $api_version = null )
Set the version in the package.xml |
public
null
|
#
addNextVersion( string $version, string $initial_note, string $stability_api = null, string $stability_release = null )
Add the next version to the package.xml |
public
string
|
|
public
DOMNode|false
|
|
public
DOMNode|false
|
#
findNodeRelativeTo( string $query, DOMNode $context )
Return a single named node below the given context matching the given XPath query. |
public
DOMNodeList
|
|
public
DOMNodeList
|
#
findNodesRelativeTo( string $query, mixed $context )
Return all nodes matching the given XPath query. |
public
string|false
|
#
getNodeText( string $path )
Return the content of a single named node matching the given XPath query. |
public
string|false
|
#
getNodeTextRelativeTo( string $path, DOMNode $context )
Return the content of a single named node below the given context and matching the given XPath query. |
public
DOMNodeList
|
|
public
DOMNodeList
|
#
replaceTextNodeRelativeTo( string $path, DOMNode $context, string $value, array $attributes = array() )
Replace a specific text node |
public
DOMNode
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
string |
XMLNAMESPACE
The package.xml namespace |
#
'http://pear.php.net/dtd/package-2.0'
|