\BootstrapFileField
Bootstrap File Field
shows a nice Bootstrap Style Upload Form Button and a Progess Bar
Synopsis
class BootstrapFileField
extends FileField
{
- // members
- protected array $bffConfig = ;
- protected $button_title = NULL;
- // methods
- public UploadField setConfig()
- public mixed getConfig()
- public void ButtonTitle()
- public void setButtonTitle()
- public void __construct()
- public void Field()
Hierarchy
Extends
- FileField
Members
protected
- $bffConfig
—
array
Config for this field used in the front-end javascript (will be merged into the config of the javascript file upload plugin).
Methods
public
- __construct()
- ButtonTitle() — Returns the field label - used by templates.
- Field()
- getConfig() — Gets a front-end config variable for the upload field
- setButtonTitle()
- setConfig() — Assign a front-end config variable for the upload field