00001 <?PHP 00017 include_once("Element.php"); 00018 00031 class HTMLBlock extends Element 00032 { 00038 public function render() 00039 { 00040 $style = $this->getStyle(); 00041 $func = $this->getFunction(); 00042 00043 return "<div ID='$this->m_Name' $this->m_HTMLAttr $style $func>".$this->m_Text."</div>"; 00044 } 00045 } 00046 00047 ?>