(no description)
File Size: | 82 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Class: brickfield_accessibility_table_test - X-Ref
Special base class which provides helper methods for tables.get_table(\stdClass $table) X-Ref |
Takes the element object of a main table and returns the number of rows and columns in it. param: \stdClass $table return: array An array with the 'rows' value showing the number of rows, and column showing the number of columns |
is_data($table) X-Ref |
Finds whether or not the table is a data table. Checks that the table has a logical order and uses 'th' or 'thead' tags to illustrate the page author thought it was a data table. param: object $table The DOMElement object of the table tag return: bool TRUE if the element is a data table, otherwise false |