table_row_parameters)) $sTableBox .= ' ' . $this->table_row_parameters; if (isset($contents[$i]['params']) && oos_is_not_null($contents[$i]['params'])) $sTableBox .= ' ' . $contents[$i]['params']; $sTableBox .= '>' . "\n"; $sTableBox .= ' table_data_parameters)) { $sTableBox .= ' ' . $this->table_data_parameters; } $sTableBox .= '>' . $contents[$i]['text'] . '' . "\n"; $sTableBox .= ' ' . "\n"; } return $sTableBox; } function tableBlock($contents) { $sTableBox = ''; $form_set = FALSE; if (isset($contents['form'])) { $sTableBox .= $contents['form'] . "\n"; $form_set = TRUE; array_shift($contents); } for ($i = 0, $n = count($contents); $i < $n; $i++) { $sTableBox .= ' table_row_parameters)) $sTableBox .= ' ' . $this->table_row_parameters; if (isset($contents[$i]['params']) && oos_is_not_null($contents[$i]['params'])) $sTableBox .= ' ' . $contents[$i]['params']; $sTableBox .= '>' . "\n"; if (isset($contents[$i][0]) && is_array($contents[$i][0])) { for ($x = 0, $y = count($contents[$i]); $x < $y; $x++) { if (isset($contents[$i][$x]['text']) && oos_is_not_null($contents[$i][$x]['text'])) { $sTableBox .= ' table_data_parameters)) { $sTableBox .= ' ' . $this->table_data_parameters; } $sTableBox .= '>'; if (isset($contents[$i][$x]['form']) && oos_is_not_null($contents[$i][$x]['form'])) $sTableBox .= $contents[$i][$x]['form']; $sTableBox .= $contents[$i][$x]['text']; if (isset($contents[$i][$x]['form']) && oos_is_not_null($contents[$i][$x]['form'])) $sTableBox .= ''; $sTableBox .= '' . "\n"; } } } else { $sTableBox .= ' table_data_parameters)) { $sTableBox .= ' ' . $this->table_data_parameters; } $sTableBox .= '>' . $contents[$i]['text'] . '' . "\n"; } $sTableBox .= ' ' . "\n"; } if ($form_set == TRUE) $sTableBox .= '' . "\n"; return $sTableBox; } }