PHP Class Horde_Pear_Package_Xml_Element_File, 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.
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( string $name, Horde_Pear_Package_Xml_Element_Directory $parent, string $role = null ) Constructor.
delete ( ) : null Remove the file entry from the XML.
getFileNode ( ) : DOMNode Get the DOM node of the file entry.
insert ( DOMNode $point = null ) : null Insert the file entry into the XML at the given point.
setFileNode ( DOMNode $file ) : null Set the DOM node of the file entry.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $name, Horde_Pear_Package_Xml_Element_Directory $parent, string $role = null )
$name string The name of the directory.
$parent Horde_Pear_Package_Xml_Element_Directory The parent directory.
$role string The file role.

delete() public méthode

Remove the file entry from the XML.
public delete ( ) : null
Résultat null

getFileNode() public méthode

Get the DOM node of the file entry.
public getFileNode ( ) : DOMNode
Résultat DOMNode The file node.

insert() public méthode

Insert the file entry into the XML at the given point.
public insert ( DOMNode $point = null ) : null
$point DOMNode Insertion point.
Résultat null

setFileNode() public méthode

Set the DOM node of the file entry.
public setFileNode ( DOMNode $file ) : null
$file DOMNode
Résultat null