PHP 클래스 PhpOffice\PhpPresentation\Tests\XmlDocument

파일 보기 프로젝트 열기: phpoffice/phppowerpoint

공개 메소드들

메소드 설명
__construct ( string $path ) Create new instance
attributeElementExists ( string $path, string $attribute, string $file = 'word/document.xml' ) : string Get element attribute
elementCount ( string $path, string $file ) : string Check if element exists
elementExists ( string $path, string $file = 'word/document.xml' ) : string Check if element exists
fileExists ( $file )
getElement ( string $path, string $file = 'word/document.xml' ) : DOMElement Get element
getElementAttribute ( string $path, string $attribute, string $file = 'word/document.xml' ) : string Get element attribute
getFile ( ) : string Get file name
getFileDom ( string $file = 'word/document.xml' ) : DOMDocument Get DOM from file
getNodeList ( string $path, string $file = 'word/document.xml' ) : DOMNodeList Get node list
getPath ( ) : string Get path

메소드 상세

__construct() 공개 메소드

Create new instance
public __construct ( string $path )
$path string

attributeElementExists() 공개 메소드

Get element attribute
public attributeElementExists ( string $path, string $attribute, string $file = 'word/document.xml' ) : string
$path string
$attribute string
$file string
리턴 string

elementCount() 공개 메소드

Check if element exists
public elementCount ( string $path, string $file ) : string
$path string
$file string
리턴 string

elementExists() 공개 메소드

Check if element exists
public elementExists ( string $path, string $file = 'word/document.xml' ) : string
$path string
$file string
리턴 string

fileExists() 공개 메소드

public fileExists ( $file )

getElement() 공개 메소드

Get element
public getElement ( string $path, string $file = 'word/document.xml' ) : DOMElement
$path string
$file string
리턴 DOMElement

getElementAttribute() 공개 메소드

Get element attribute
public getElementAttribute ( string $path, string $attribute, string $file = 'word/document.xml' ) : string
$path string
$attribute string
$file string
리턴 string

getFile() 공개 메소드

Get file name
public getFile ( ) : string
리턴 string

getFileDom() 공개 메소드

Get DOM from file
public getFileDom ( string $file = 'word/document.xml' ) : DOMDocument
$file string
리턴 DOMDocument

getNodeList() 공개 메소드

Get node list
public getNodeList ( string $path, string $file = 'word/document.xml' ) : DOMNodeList
$path string
$file string
리턴 DOMNodeList

getPath() 공개 메소드

Get path
public getPath ( ) : string
리턴 string