Метод |
Описание |
|
displayAntispam ( ) : boolean | string |
Display AntiSpam widget. |
|
displayForm ( string $handle ) : string |
Display a form. |
|
displayRecaptcha ( ) : boolean | string |
Display a reCAPTCHA widget. |
|
displaySubmission ( integer $id ) : string |
Display a submission to edit and save it. |
|
getAllForms ( ) : array |
Get all forms. |
|
getFieldHandles ( ) : array |
Get field handles. |
|
getForm ( string $handle ) : AmForms_FormModel | null |
Get a form by its handle. |
|
getFormByHandle ( string $handle ) : AmForms_FormModel | null |
Get a form by its handle. |
|
getFormById ( integer $id ) : AmForms_FormModel | null |
Get a form by its ID. |
|
getName ( ) : string |
Get the Plugin's name. |
|
getNamespaceForForm ( AmForms_FormModel $form ) : string |
Get a namespace for a form. |
|
getProperFieldTypes ( array $fieldTypes ) : array |
Get proper field types. |
|
getSettingsValueByHandleAndType ( string $handle, string $type, mixed $defaultValue = null ) : mixed |
Get a setting value by their handle and type. |
|
getSubmissionById ( integer $id, boolean $setAsActive = false ) : craft\AmForms_SubmissionModel | null |
Get a submission by its ID. |
|
submissions ( array $attributes = [] ) : craft\ElementCriteriaModel |
Returns a criteria model for AmForms_Submission elements. |
|