FileManager
class FileManager (View source)
Methods
Sets up a file field for use with a block.
Sets up an image to be chosen for use with a block.
Sets up a video to be chosen for use with a block.
Sets up a text file to be chosen for use with a block.
Sets up audio to be chosen for use with a block.
Sets up a document to be chosen for use with a block.
Sets up an application to be chosen for use with a block.
Details
string
file(string $id, string $postname, string $chooseText, File $bf = null, $filterArgs = [])
Sets up a file field for use with a block.
string
image(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up an image to be chosen for use with a block.
string
video(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up a video to be chosen for use with a block.
string
text(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up a text file to be chosen for use with a block.
string
audio(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up audio to be chosen for use with a block.
string
doc(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up a document to be chosen for use with a block.
string
app(string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = [])
Sets up an application to be chosen for use with a block.