PhpOffice\PhpPresentation\Writer\ODPresentation::__construct PHP Method

__construct() public method

Create a new \PhpOffice\PhpPresentation\Writer\ODPresentation
public __construct ( PhpPresentation $pPhpPresentation = null )
$pPhpPresentation PhpOffice\PhpPresentation\PhpPresentation
    public function __construct(PhpPresentation $pPhpPresentation = null)
    {
        // Assign PhpPresentation
        $this->setPhpPresentation($pPhpPresentation);
        // Set up disk caching location
        $this->diskCachingDirectory = './';
        // Set HashTable variables
        $this->oDrawingHashTable = new HashTable();
        $this->setZipAdapter(new ZipArchiveAdapter());
    }