Html.php
Go to the documentation of this file.
1<?php
11
34class 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 : */
Can be used to insert custom HTML between rendered HTML elements.
Definition Html.php:35
__toString()
Renders element to HTML.
Definition Html.php:56
__construct($htmlString)
html class constructor
Definition Html.php:46
Classes for HTML input-elements.
Definition Address.php:9