Package variables | General documentation | Methods |
WebCvs | Raw content |
_row | No description | Code |
add_row | No description | Code |
new | No description | Code |
render | No description | Code |
_row | description | prev | next | Top |
my($self, $label, $value ) = @_; return sprintf '<tr>}
<th>%s</th>
<td>%s</td>
</tr>', escapeHTML($label), $value;
add_row | description | prev | next | Top |
my($self, $label, $value) = @_; push @{$self->{'content'}}, $self->_row( $label, $value );}
new | description | prev | next | Top |
my $class = shift; my $self = { 'content' => [] }; bless $self, $class; return $self;}
render | description | prev | next | Top |
my $self = shift; my $html = qq(<table class="twocol">\n); $html .= join '',@{$self->{'content'}}; $html .= "</table>\n"; return $html; } 1;}