mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
updates on documentation of rows, cols and inner attributes for
html_table
This commit is contained in:
@@ -31,19 +31,24 @@
|
|||||||
<entry>integer</entry>
|
<entry>integer</entry>
|
||||||
<entry>No</entry>
|
<entry>No</entry>
|
||||||
<entry><emphasis>3</emphasis></entry>
|
<entry><emphasis>3</emphasis></entry>
|
||||||
<entry>number of columns in the table,
|
<entry>number of columns in the table. if the cols-attribute is empty, but rows are given, then the number of cols is computed by the number of rows and the number of elements to display to be just enough cols to display all elements. If both, rows and cols, are omitted cols defaults to 3.</entry>
|
||||||
data populates cells left-to-right,
|
|
||||||
top-to-bottom.</entry>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>rows</entry>
|
<entry>rows</entry>
|
||||||
<entry>integer</entry>
|
<entry>integer</entry>
|
||||||
<entry>No</entry>
|
<entry>No</entry>
|
||||||
<entry><emphasis>empty</emphasis></entry>
|
<entry><emphasis>empty</emphasis></entry>
|
||||||
<entry>number of rows in the table, data populates
|
<entry>number of rows in the table. if the rows-attribute is empty, but cols are given, then the number of rows is computed by the number of cols and the number of elements to display to be just enough rows to display all elements.</entry>
|
||||||
cells top-to-bottom, left-to-right. This is mutually
|
|
||||||
exclusive with "cols" attribute.</entry>
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry>inner</entry>
|
||||||
|
<entry>string</entry>
|
||||||
|
<entry>No</entry>
|
||||||
|
<entry><emphasis>cols</emphasis></entry>
|
||||||
|
<entry>direction of consecutive elements in the loop-array to be rendered. <emphasis>cols</emphasis> means elements are displayed col-by-col. <emphasis>rows</emphasis> means elements are displayed row-by-row.</entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry>table_attr</entry>
|
<entry>table_attr</entry>
|
||||||
<entry>string</entry>
|
<entry>string</entry>
|
||||||
|
Reference in New Issue
Block a user