PHP Class Craft\FormBuilder2Variable

Afficher le fichier Open project: roundhouse/FormBuilder-2-Craft-CMS

Méthodes publiques

Méthode Description
getAllEntriesFromFormID ( $formId ) Get Total Number of Submissions Per Form
getAllForms ( ) Get All Forms
getAllMessages ( )
getBlockTypes ( )
getFields ( )
getFormByHandle ( $formHandle ) Get Form By Handle
getFormById ( $formId ) Get Form By Id
getFormEntryById ( $entryId ) Get Entry By Id
getFormHtmlById ( $formId ) Get Form By Id
getInputHtml ( $field, $value = [] ) Get Input HTML for FieldTypes
getJsonLabels ( ) Custom Field Templates
getLayout ( $key )
getTemplates ( )
includeScripts ( $form ) Load Required Scripts
totalEntries ( ) Get Total Number of Submissions
totalForms ( ) Get Total Number of Forms

Private Methods

Méthode Description
_setTemplate ( $path, $type = 'site' ) Template Setters

Method Details

getAllEntriesFromFormID() public méthode

Get Total Number of Submissions Per Form
public getAllEntriesFromFormID ( $formId )

getAllForms() public méthode

Get All Forms
public getAllForms ( )

getAllMessages() public méthode

public getAllMessages ( )

getBlockTypes() public méthode

public getBlockTypes ( )

getFields() public méthode

public getFields ( )

getFormByHandle() public méthode

Get Form By Handle
public getFormByHandle ( $formHandle )

getFormById() public méthode

Get Form By Id
public getFormById ( $formId )

getFormEntryById() public méthode

Get Entry By Id
public getFormEntryById ( $entryId )

getFormHtmlById() public méthode

Get Form By Id
public getFormHtmlById ( $formId )

getInputHtml() public méthode

Get Input HTML for FieldTypes
public getInputHtml ( $field, $value = [] )

getJsonLabels() public méthode

Custom Field Templates
public getJsonLabels ( )

getLayout() public méthode

public getLayout ( $key )

getTemplates() public méthode

public getTemplates ( )

includeScripts() public méthode

Load Required Scripts
public includeScripts ( $form )

totalEntries() public méthode

Get Total Number of Submissions
public totalEntries ( )

totalForms() public méthode

Get Total Number of Forms
public totalForms ( )