FormBuilderInstall class

This is kept in a separate file since there's a lot of code and don't need it

taking up space when it's not needed on every request.

Note that the tables are installed/uninstalled by FormBuilderMain.

Copyright (C) 2025 by Ryan Cramer Design, LLC

PLEASE DO NOT DISTRIBUTE


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

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
FormBuilderInstall::install()
None

Install the form builder

 
FormBuilderInstall::installFieldgroup()
Fieldgroup

Install form-builder fieldgroup

 
FormBuilderInstall::installPage(Template $template)
NullPage Page

Install /form-builder/ page

 
FormBuilderInstall::installPermissions()
array

Install permissions

 
FormBuilderInstall::installTables()
None

Install database tables

 
FormBuilderInstall::installTemplate(Fieldgroup $fieldgroup)
Template

Install form-builder template

 
FormBuilderInstall::installTemplateFile()
string

Install /site/templates/form-builder.php template file

 
FormBuilderInstall::uninstall()
None

Uninstall form builder

 
FormBuilderInstall::uninstallCache()
None

Uninstall cache directories

 
FormBuilderInstall::uninstallFieldgroup()
None

Uninstall fieldgroup

 
FormBuilderInstall::uninstallPage()
None

Uninstall page

 
FormBuilderInstall::uninstallPermissions()
None

Uninstall permissions

 
FormBuilderInstall::uninstallTables()
None

Uninstall the tables

 
FormBuilderInstall::uninstallTemplate()
None

Uninstall template

 
FormBuilderInstall::uninstallTemplateFile()
None

Uninstall template file

 
FormBuilderInstall::upgrade()
bool

Upgrade

 

Additional methods and properties

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

API reference based on ProcessWire core version 3.0.253