FileManager
class FileManager (View source)
Methods
string
string
string
string
string
string
string
string
fileOfType(int $type, string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a file of a specific type.
Details
string
file(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a file.
string
image(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick an image file.
string
video(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a video file.
string
text(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a text file.
string
audio(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick an audio file.
string
doc(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a document file.
string
app(string $inputID, string $inputName, string $chooseText, File|Version|int|null $preselectedFile = null, array $args = [])
Sets up a form field to let users pick a application file.