Class FileManager

Methods summary

public string
# file( string $id, string $postname, string $chooseText, File $bf = null, $filterArgs = array() )

Sets up a file field for use with a block.

public string
# image( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up an image to be chosen for use with a block.

public string
# video( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up a video to be chosen for use with a block.

public string
# text( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up a text file to be chosen for use with a block.

public string
# audio( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up audio to be chosen for use with a block.

public string
# doc( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up a document to be chosen for use with a block.

public string
# app( string $id, string $postname, string $chooseText, File $fileInstanceBlock = null, array $additionalArgs = array() )

Sets up an application to be chosen for use with a block.