step.php
Go to the documentation of this file.
1 <?php
10 namespace depage\htmlform\elements;
11 
17 class step extends fieldset
18 {
27  public function __toString()
28  {
29  $renderedElements = '';
30  foreach ($this->elementsAndHtml as $element) {
31  $renderedElements .= $element;
32  }
33 
34  return $renderedElements;
35  }
36 }
37 
38 /* vim:set ft=php sw=4 sts=4 fdm=marker et : */
__toString()
renders step container to HTML
Definition: step.php:27
Steps break up forms into separate consecutive parts.
Definition: step.php:17
The fieldset class holds HTML-fieldset specific attributes and methods.
Definition: fieldset.php:50