MetaFox

SimpleUploadPhotosField extends File
in package
Uses MultipleTypeUploadTrait

Table of Contents

Methods

allowTypes()  : $this
canUploadVideos()  : bool
dialogTitle()  : static
getAcceptableMimeTypes()  : string
getAcceptableTypes()  : array<string|int, string>
initialize()  : void

Methods

allowTypes()

public allowTypes(array<string|int, string> $types) : $this
Parameters
$types : array<string|int, string>
Return values
$this

dialogTitle()

public dialogTitle(string $title) : static
Parameters
$title : string
Return values
static

getAcceptableMimeTypes()

public getAcceptableMimeTypes(array<string|int, string> $allowedTypes) : string
Parameters
$allowedTypes : array<string|int, string>
Return values
string

getAcceptableTypes()

public getAcceptableTypes() : array<string|int, string>
Return values
array<string|int, string>

        
On this page

Search results