PHP Класс 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.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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() публичный Метод

Remove the file entry from the XML.
public delete ( ) : null
Результат null

getFileNode() публичный Метод

Get the DOM node of the file entry.
public getFileNode ( ) : DOMNode
Результат DOMNode The file node.

insert() публичный Метод

Insert the file entry into the XML at the given point.
public insert ( DOMNode $point = null ) : null
$point DOMNode Insertion point.
Результат null

setFileNode() публичный Метод

Set the DOM node of the file entry.
public setFileNode ( DOMNode $file ) : null
$file DOMNode
Результат null