Properties

$attachmentsMaxSize

$attachmentsMaxSize : int

maximum size in bytes of an attachment. Default 5MB

Type

int

$attachmentsMimeType

$attachmentsMimeType : array

valid Mime-Types of attachments

Type

array

$attachmentsCount

$attachmentsCount : int

maximum number of attachments. Default 3

Type

int

$contactImageMaxSize

$contactImageMaxSize : int

maximum size of an user image. Default 200 kB

Type

int

$contactImageMimeType

$contactImageMimeType : array

allowed Mime-Type of a user image

Type

array

$allowedMimeTypes

$allowedMimeTypes : array

Generally allowed Mime Types

Type

array

$workflow

$workflow

$allowSubsequentAttachmentUpload

$allowSubsequentAttachmentUpload : bool

Flag indicating whether subsequent attachment uploads are allowed

Type

bool

Methods

getAttachmentsMaxSize()

getAttachmentsMaxSize() : int

Gets the maximum size of attachments in bytes

Returns

int

setAttachmentsMaxSize()

setAttachmentsMaxSize(int $size) : \Applications\Options\ModuleOptions

Sets the maximum size of attachments in bytes

Parameters

int $size

Returns

\Applications\Options\ModuleOptions

getAttachmentsMimeType()

getAttachmentsMimeType() : array

Gets the the allowed Mime-Types for attachments

Returns

array

setAttachmentsMimeType()

setAttachmentsMimeType(array $mime) : \Applications\Options\ModuleOptions

Sets the maximum size of attachments in bytes

Parameters

array $mime

Returns

\Applications\Options\ModuleOptions

getAttachmentsCount()

getAttachmentsCount() : string

Gets the the maximum number of allowed attachments

Returns

string

setAttachmentsCount()

setAttachmentsCount(string $number) : \Applications\Options\ModuleOptions

Sets the maximum number of allowed attachments

Parameters

string $number

Returns

\Applications\Options\ModuleOptions

getContactImageMaxSize()

getContactImageMaxSize() : string

Gets the the maximum size of contact images in bytes

Returns

string

setContactImageMaxSize()

setContactImageMaxSize(string $size) : \Applications\Options\ModuleOptions

Sets the maximum size of contact images in bytes

Parameters

string $size

Returns

\Applications\Options\ModuleOptions

getContactImageMimeType()

getContactImageMimeType() : array

Gets the allowed Mime-Types for contact images

Returns

array

setContactImageMimeType()

setContactImageMimeType(array $mime) : \Applications\Options\ModuleOptions

Sets the allowed Mime-Types for contact images

Parameters

array $mime

Returns

\Applications\Options\ModuleOptions

getAllowedMimeTypes()

getAllowedMimeTypes() : string

Gets the allowed Mime-Types for contact images

Returns

string

setAllowedMimeTypes()

setAllowedMimeTypes(array $array) : \Applications\Options\ModuleOptions

Sets the allowed Mime-Types

Parameters

array $array

Returns

\Applications\Options\ModuleOptions

getAllowSubsequentAttachmentUpload()

getAllowSubsequentAttachmentUpload() : boolean

Returns

boolean

setAllowSubsequentAttachmentUpload()

setAllowSubsequentAttachmentUpload(boolean $allowSubsequentAttachmentUpload) : \Applications\Options\ModuleOptions

Parameters

boolean $allowSubsequentAttachmentUpload

Returns

\Applications\Options\ModuleOptions