|
Prismic.io PHP kit
3.0.0
|
Public Member Functions | |
| __construct ($type, $multiple, $defaultValue) | |
| getType () | |
| getDefaultValue () | |
| isMultiple () | |
Embodies a field of a RESTful form. This is meant for internal use.
| Prismic\FieldForm::__construct | ( | $type, | |
| $multiple, | |||
| $defaultValue | |||
| ) |
Constructing a FieldForm.
| string | $type | the type of the field |
| boolean | $multiple | can the parameter be used multiple times |
| string | $defaultValue | the default value |
| Prismic\FieldForm::getDefaultValue | ( | ) |
Returns the default value.
| Prismic\FieldForm::getType | ( | ) |
Returns the type of the field.
| Prismic\FieldForm::isMultiple | ( | ) |
Returns whether the parameter can be used multiple times.
1.8.12