AttachmentFileType
in package
implements
AttachmentFileTypeContract
Table of Contents
Interfaces
- AttachmentFileTypeContract
- Interface AttachmentFileTypeContract
Properties
- $attachmentFileTypes : Collection
Methods
- __construct() : mixed
- clearCache() : void
- getAllActive() : Collection
- Get active attachment types
- getAllExtensionActive() : array<string|int, string>
- Get all file extensions of active types
- getAllMineTypeActive() : array<string|int, string>
- Get all file mime of active types
- getAttachmentFileTypes() : Collection
- Get all attachment types
- getCacheName() : string
- init() : void
Properties
$attachmentFileTypes
private
Collection
$attachmentFileTypes
Methods
__construct()
public
__construct() : mixed
clearCache()
public
clearCache() : void
getAllActive()
Get active attachment types
public
getAllActive() : Collection
Return values
CollectiongetAllExtensionActive()
Get all file extensions of active types
public
getAllExtensionActive() : array<string|int, string>
Return values
array<string|int, string>getAllMineTypeActive()
Get all file mime of active types
public
getAllMineTypeActive() : array<string|int, string>
Return values
array<string|int, string>getAttachmentFileTypes()
Get all attachment types
public
getAttachmentFileTypes() : Collection
Return values
CollectiongetCacheName()
public
getCacheName() : string
Return values
stringinit()
protected
init() : void