class Document (View source)

Methods

static bool|null|Document
getInstance(null $adapter = null)

Singleton for Pimcore\Document

static bool
isAvailable()

Checks if adapter is available.

static bool
isFileTypeSupported($filetype)

Checks if a file type is supported by the adapter.

static bool|Adapter
getDefaultAdapter()

Returns adapter class if exists or false if doesn't exist

Details

at line line 30
static bool|null|Document getInstance(null $adapter = null)

Singleton for Pimcore\Document

Parameters

null $adapter

Return Value

bool|null|Document

Exceptions

Exception

at line line 58
static bool isAvailable()

Checks if adapter is available.

Return Value

bool

at line line 73
static bool isFileTypeSupported($filetype)

Checks if a file type is supported by the adapter.

Parameters

$filetype

Return Value

bool

at line line 89
static bool|Adapter getDefaultAdapter()

Returns adapter class if exists or false if doesn't exist

Return Value

bool|Adapter