Description of class_syn_sort_table. More...
Public Member Functions | |
| __construct () | |
| add ($p_header, $p_url, $p_sql_asc, $p_sql_desc, $p_get_asc, $p_get_desc) | |
| add row of a header in the internal array ($this->array) , it uses the $_GET['ord'] parameter, | |
| get_header ($p_ind) | |
| Returns the header (the value into th tags) with the symbol ascending and descending. | |
| get_sql_order ($p_get) | |
Description of class_syn_sort_table.
Definition at line 8 of file class_sort_table.php.
| Sort_Table::__construct | ( | ) |
Definition at line 11 of file class_sort_table.php.
References nb().
| Sort_Table::add | ( | $p_header, | |
| $p_url, | |||
| $p_sql_asc, | |||
| $p_sql_desc, | |||
| $p_get_asc, | |||
| $p_get_desc | |||
| ) |
add row of a header in the internal array ($this->array) , it uses the $_GET['ord'] parameter,
| type | $p_header | label of the header |
| type | $p_url | base url |
| type | $p_sql_asc | sql if ascending |
| type | $p_sql_desc | sql if descending |
| type | $p_get_asc | the value in $_GET if ascending is choosen |
| type | $p_get_desc | the value in $_GET if descending is choosen |
Definition at line 27 of file class_sort_table.php.
| Sort_Table::get_header | ( | $p_ind | ) |
Returns the header (the value into th tags) with the symbol ascending and descending.
| $p_ind | the element (from 0 to nb) |
Definition at line 49 of file class_sort_table.php.
References $base, $file, $str, and nb().
| Sort_Table::get_sql_order | ( | $p_get | ) |
Definition at line 67 of file class_sort_table.php.