html.php
Go to the documentation of this file.
1 <?php
10 namespace depage\htmlform\elements;
11 
34 class html
35 {
39  private $htmlString;
40 
46  public function __construct($htmlString)
47  {
48  $this->htmlString = $htmlString;
49  }
50 
56  public function __toString()
57  {
58  return (string) $this->htmlString;
59  }
60 }
61 
62 /* vim:set ft=php sw=4 sts=4 fdm=marker et : */
__toString()
Renders element to HTML.
Definition: html.php:56
__construct($htmlString)
html class constructor
Definition: html.php:46
Can be used to insert custom HTML between rendered HTML elements.
Definition: html.php:34