|
Prismic.io PHP kit
3.0.0
|
Public Member Functions | |
| __construct ($maybeName, $method, $maybeRel, $enctype, $action, $fields) | |
| getName () | |
| getMethod () | |
| getRel () | |
| getEnctype () | |
| getAction () | |
| getFields () | |
Embodies a RESTful form. This is meant for internal use.
| Prismic\Form::__construct | ( | $maybeName, | |
| $method, | |||
| $maybeRel, | |||
| $enctype, | |||
| $action, | |||
| $fields | |||
| ) |
Constructs the Form object.
| string | $maybeName | the name if there's one |
| string | $method | the method to use |
| string | $maybeRel | the rel if there's one |
| string | $enctype | the encoding type |
| string | $action | the action |
| array | $fields | the list of Prismic::FieldForm objects that can be used |
| Prismic\Form::getAction | ( | ) |
Returns the action
| Prismic\Form::getEnctype | ( | ) |
Returns the enctype
| Prismic\Form::getFields | ( | ) |
Returns the fields
| Prismic\Form::getMethod | ( | ) |
Returns the method
| Prismic\Form::getName | ( | ) |
Returns the name
| Prismic\Form::getRel | ( | ) |
Returns the rel
1.8.12