depage-forms v1.4.1
html forms made easy
Loading...
Searching...
No Matches
Step.php
Go to the documentation of this file.
1<?php
2
10
11namespace Depage\HtmlForm\Elements;
12
18class Step extends Fieldset
19{
28 public function __toString(): string
29 {
30 $renderedElements = '';
31 foreach ($this->elementsAndHtml as $element) {
32 $renderedElements .= $element;
33 }
34
35 return $renderedElements;
36 }
37}
38
39/* vim:set ft=php sw=4 sts=4 fdm=marker et : */
The fieldset class holds HTML-fieldset specific attributes and methods.
Definition Fieldset.php:52
Steps break up forms into separate consecutive parts.
Definition Step.php:19
__toString()
renders step container to HTML
Definition Step.php:28