html Class Reference

Detailed Description

Can be used to insert custom HTML between rendered HTML elements.

Class for custom HTML code sections.


$form = new depage\htmlform\htmlform('myform');
// add HTML
$form->addHtml('<div id="myimage"></div>');
// process form
// Display the form.
echo ($form);

Definition at line 34 of file html.php.

Public Member Functions

 __construct ($htmlString)
 html class constructor More...
 __toString ()
 Renders element to HTML. More...

Constructor & Destructor Documentation

__construct (   $htmlString)

html class constructor

string$htmlStringHTML to be printed

Definition at line 46 of file html.php.

Member Function Documentation

__toString ( )

Renders element to HTML.

string $this->htmlString HTML-rendered element

Definition at line 56 of file html.php.

The documentation for this class was generated from the following file: