This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class ConcreteAssetLibraryHelper

Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at helpers/concrete/asset_library.php

Methods summary

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

Sets up a file field for use with a block.

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

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

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

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

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

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

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

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

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

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

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

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