PHP Class Horde_Pear_Package_Xml_Contents, horde
Copyright 2011-2016 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.
显示文件
Open project: horde/horde
Public Methods
Method |
Description |
|
__construct ( Horde_Pear_Package_Xml $xml, DOMNode $contents, DOMNode $filelist ) |
Constructor. |
|
add ( string $file, array $params ) : null |
Add a file to the list. |
|
delete ( string $file ) : null |
Delete a file from the list. |
|
update ( Horde_Pear_Package_Contents $contents ) : null |
Update the file list. |
|
Private Methods
Method Details
__construct()
public method
public __construct ( Horde_Pear_Package_Xml $xml, DOMNode $contents, DOMNode $filelist ) |
$xml |
Horde_Pear_Package_Xml |
The package.xml handler
to operate on. |
$contents |
DOMNode |
The root node for the
"contents" listing. |
$filelist |
DOMNode |
The root node for the
"filelist" listing. |
Delete a file from the list.
public update ( Horde_Pear_Package_Contents $contents ) : null |
$contents |
Horde_Pear_Package_Contents |
|
return |
null |
|