cls_htmlbase(array(
'doctype' => $doctype
,'tag_name' => 'html'
,'bln_endtag' => '0'
));
}
function generate() {
// pull the properties in scalar variables
// for ease of use.
$doctype = $this->props['doctype'];
$tag_name = $this->props['tag_name'];
$buffer = "";
$buffer .= "<$tag_name>";
// add children to buffer.
$buffer .= "$tag_name>";
return($buffer);
}
}
?>