PHP Class PhpOffice\PhpPresentation\Tests\TestHelperDOCX

显示文件 Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Property Type Description
$file string Temporary file name

Public Methods

Method Description
clear ( ) Clear document
deleteDir ( string $dir ) Delete directory
getDocument ( PhpPresentation $phpPresentation, string $writerName ) : XmlDocument Get document content
getFile ( ) : string Get file

Method Details

clear() public static method

Clear document
public static clear ( )

deleteDir() public static method

Delete directory
public static deleteDir ( string $dir )
$dir string

getDocument() public static method

Get document content
public static getDocument ( PhpPresentation $phpPresentation, string $writerName ) : XmlDocument
$phpPresentation PhpOffice\PhpPresentation\PhpPresentation
$writerName string
return XmlDocument

getFile() public static method

Get file
public static getFile ( ) : string
return string

Property Details

$file protected_oe static_oe property

Temporary file name
protected static string $file
return string