FormBuilderFramework class

Located in file /site/modules/FormBuilder/FormBuilderFramework.php

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?        

Common

NameReturnSummary 
FormBuilderFramework::addInlineStyles(string $str)
(nothing)Add an inline style 
FormBuilderFramework::allowLoad($type)
boolAllow loading of files for: jquery, jqueryui, or framework 
FormBuilderFramework::getConfigDefaults()
arrayReturn array of property => value representing defaults for each config property 
FormBuilderFramework::getConfigInputfields()
InputfieldWrapperReturn Inputfields for configuration of framework 
FormBuilderFramework::getForm()
FormBuilderFormGet the form used by this framework 
FormBuilderFramework::getFrameworkURL()
stringGet the URL where the actual 3rd party framework files exist 
FormBuilderFramework::getFrameworkVersion()
stringGet the framework version 
FormBuilderFramework::getInlineStyles()
stringGet the rendered inline styles 
FormBuilderFramework::getName()
stringGet the name of the framework 
FormBuilderFramework::getPrefix()
stringGet the framework prefix 
FormBuilderFramework::load()
stringLoad the framework 
FormBuilderFramework::noLoad array Bypass automatic file loading for files referenced in this array 
FormBuilderFramework::ready()
(nothing)Method to call when framework is ready to be used for output 
FormBuilderFramework::setForm(FormBuilderForm $form)
(nothing)Set the form this framework will be used with 

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.236

Latest news

  • ProcessWire Weekly #556
    In the 556th issue of ProcessWire Weekly we're going to share the latest core development news, highlight a new third party module, and more. Read on!
    Weekly.pw / 4 January 2025
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits