PHP Класс Craft\FormBuilder2Variable

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
_setTemplate ( $path, $type = 'site' ) Template Setters

Описание методов

getAllEntriesFromFormID() публичный Метод

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

getAllForms() публичный Метод

Get All Forms
public getAllForms ( )

getAllMessages() публичный Метод

public getAllMessages ( )

getBlockTypes() публичный Метод

public getBlockTypes ( )

getFields() публичный Метод

public getFields ( )

getFormByHandle() публичный Метод

Get Form By Handle
public getFormByHandle ( $formHandle )

getFormById() публичный Метод

Get Form By Id
public getFormById ( $formId )

getFormEntryById() публичный Метод

Get Entry By Id
public getFormEntryById ( $entryId )

getFormHtmlById() публичный Метод

Get Form By Id
public getFormHtmlById ( $formId )

getInputHtml() публичный Метод

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

getJsonLabels() публичный Метод

Custom Field Templates
public getJsonLabels ( )

getLayout() публичный Метод

public getLayout ( $key )

getTemplates() публичный Метод

public getTemplates ( )

includeScripts() публичный Метод

Load Required Scripts
public includeScripts ( $form )

totalEntries() публичный Метод

Get Total Number of Submissions
public totalEntries ( )

totalForms() публичный Метод

Get Total Number of Forms
public totalForms ( )