PHP Class PhpOffice\PhpPresentation\Tests\TestHelperDOCX

Show file 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 static property

Temporary file name
protected static string $file
return string