docs depage-forms
Elements
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 : */
Depage\HtmlForm\Elements\Html
Can be used to insert custom HTML between rendered HTML elements.
Definition
Html.php:35
Depage\HtmlForm\Elements\Html\__toString
__toString()
Renders element to HTML.
Definition
Html.php:56
Depage\HtmlForm\Elements\Html\__construct
__construct($htmlString)
html class constructor
Definition
Html.php:46
Depage\HtmlForm\Elements
Classes for HTML input-elements.
Definition
Address.php:9