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.
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__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