id = $id; $this->row_count = $row_count; $this->col_count = $col_count; $this->debug = $debug; $this->style = ""; $this->spacing = ""; $this->padding = ""; $this->elems = array(); $this->forms = array(); for($i = 0; $i < $row_count; $i++) { $this->forms[$i] = ""; for($j = 0; $j < $col_count; $j++) $this->elems[$i][$j] = " "; } } function add($elem, $row, $col, $width = False, $height = False, $style = "") { $this->elems[$row][$col] = array($elem, $width, $height, $style); } function addFormRow($form_name, $action, $row_number, $values = array()) { $this->forms[$row_number] = array($form_name,$action,$values); } function setStyle($style) { $this->style = $style; } function getHtml() { $html = ""; $html .= "