1CGI.table(3kaya) Kaya module reference CGI.table(3kaya)
2
3
4
6 CGI::table - Output a table.
7
9 HTML table( [String] titles, [[String]] rows, String tableattribs="",
10 String headattribs="", String dataattribs="" )
11
13 titles A list of strings, corresponding to the column headers from left
14 to right
15
16 rows A list of rows, each row being a list of strings. Rows are added
17 to the table top to bottom, with each row being added left to right.
18
19 tableattribs The attributes for the table as a whole, for example
20 "class='numericdata' title='Table 1.2'"
21
22 headattribs Any attributes to apply to all table header cells.
23
24 dataattribs Any attributes to apply to all table data cells.
25
27 Returns the HTML for a table
28
30 Kaya standard library by Edwin Brady, Chris Morris and others
31 (kaya@kayalang.org). For further information see http://kayalang.org/
32
34 The Kaya standard library is free software; you can redistribute it
35 and/or modify it under the terms of the GNU Lesser General Public
36 License (version 2.1 or any later version) as published by the Free
37 Software Foundation.
38
39
40
41Kaya December 2010 CGI.table(3kaya)