PHP Class PhpOffice\PhpPresentation\Writer\Serialized

Inheritance: extends AbstractWriter, implements PhpOffice\PhpPresentation\Writer\WriterInterface
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Methods

Method Description
__construct ( PhpPresentation $pPhpPresentation = null ) Create a new \PhpOffice\PhpPresentation\Writer\Serialized
save ( string $pFilename ) Save PhpPresentation to file

Private Methods

Method Description
writeSerialized ( PhpPresentation $pPhpPresentation = null, string $pFilename = '' ) : string Serialize PhpPresentation object to XML

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Writer\Serialized
public __construct ( PhpPresentation $pPhpPresentation = null )
$pPhpPresentation PhpOffice\PhpPresentation\PhpPresentation

save() public method

Save PhpPresentation to file
public save ( string $pFilename )
$pFilename string