class OpenDocument (View source)

Simplified OpenDocument creator class

Constants

NS

Methods

static string
create(string $mime, string $data)

Minimalistic creator of OASIS OpenDocument

Details

static string create(string $mime, string $data)

Minimalistic creator of OASIS OpenDocument

Parameters

string $mime

desired MIME type

string $data

document content

Return Value

string

OASIS OpenDocument data