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

공개 메소드들

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

비공개 메소드들

메소드 설명
_fileOrder ( string $a, string $b ) : integer Sort order for files in the installation list.
_getInstallInsertionPoint ( string $new ) : mixed Identify the insertion point for a new file.
_populateFileList ( ) : null Populate the existing file list from the XML.

메소드 상세

__construct() 공개 메소드

Constructor.
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.

add() 공개 메소드

Add a file to the list.
public add ( string $file, array $params ) : null
$file string The file name.
$params array Additional file parameters.
리턴 null

delete() 공개 메소드

Delete a file from the list.
public delete ( string $file ) : null
$file string The file name.
리턴 null

update() 공개 메소드

Update the file list.
public update ( Horde_Pear_Package_Contents $contents ) : null
$contents Horde_Pear_Package_Contents
리턴 null