PHP Class Pimcore\Document

Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

getDefaultAdapter() public static méthode

Returns adapter class if exists or false if doesn't exist
public static getDefaultAdapter ( ) : boolean | Pimcore\Document\Adapter
Résultat boolean | Pimcore\Document\Adapter

getInstance() public static méthode

Singleton for Pimcore\Document
public static getInstance ( null $adapter = null ) : boolean | null | Document
$adapter null
Résultat boolean | null | Document

isAvailable() public static méthode

Checks if adapter is available.
public static isAvailable ( ) : boolean
Résultat boolean

isFileTypeSupported() public static méthode

Checks if a file type is supported by the adapter.
public static isFileTypeSupported ( $filetype ) : boolean
$filetype
Résultat boolean