FormBuilderFramework class

Abstract base class used by output frameworks for FormBuilder

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FormBuilderFramework class also inherits all the methods and properties of: WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
FormBuilderFramework::addInlineStyles(string $str)
None

Add an inline style

 
FormBuilderFramework::allowLoad($type)
bool

Allow loading of files for: jquery, jqueryui, or framework

 
FormBuilderFramework::getConfigDefaults()
array

Return array of property => value representing defaults for each config property

 
FormBuilderFramework::getConfigInputfields()
InputfieldWrapper

Return Inputfields for configuration of framework

 
FormBuilderFramework::getForm()
FormBuilderForm

Get the form used by this framework

 
FormBuilderFramework::getFrameworkURL()
string

Get the URL where the actual 3rd party framework files exist

 
FormBuilderFramework::getFrameworkVersion()
string

Get the framework version

 
FormBuilderFramework::getInlineStyles()
string

Get the rendered inline styles

 
FormBuilderFramework::getName()
string

Get the name of the framework

 
FormBuilderFramework::getPrefix()
string

Get the framework prefix

 
FormBuilderFramework::load()
string

Load the framework

 
FormBuilderFramework::ready()
None

Method to call when framework is ready to be used for output

 
FormBuilderFramework::setForm(FormBuilderForm $form)
None

Set the form this framework will be used with

 

Properties

NameReturnSummary 
FormBuilderFramework::noLoad array Bypass automatic file loading for files referenced in this array 

Additional methods and properties

In addition to the methods and properties above, FormBuilderFramework also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.252