PHP Класс Pimcore\Document

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getDefaultAdapter ( ) : boolean | Pimcore\Document\Adapter Returns adapter class if exists or false if doesn't exist
getInstance ( null $adapter = null ) : boolean | null | Document Singleton for Pimcore\Document
isAvailable ( ) : boolean Checks if adapter is available.
isFileTypeSupported ( $filetype ) : boolean Checks if a file type is supported by the adapter.

Описание методов

getDefaultAdapter() публичный статический Метод

Returns adapter class if exists or false if doesn't exist
public static getDefaultAdapter ( ) : boolean | Pimcore\Document\Adapter
Результат boolean | Pimcore\Document\Adapter

getInstance() публичный статический Метод

Singleton for Pimcore\Document
public static getInstance ( null $adapter = null ) : boolean | null | Document
$adapter null
Результат boolean | null | Document

isAvailable() публичный статический Метод

Checks if adapter is available.
public static isAvailable ( ) : boolean
Результат boolean

isFileTypeSupported() публичный статический Метод

Checks if a file type is supported by the adapter.
public static isFileTypeSupported ( $filetype ) : boolean
$filetype
Результат boolean