noalyss Version-9
|
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, More... | |
get_header ($p_ind) | |
Returns the header (the value into th tags) with the symbol ascending and descending. More... | |
get_sql_order ($p_get) | |
Private Attributes | |
$array | |
$nb | |
Description of class_syn_sort_table.
Definition at line 26 of file sort_table.class.php.
Sort_Table::__construct | ( | ) |
Definition at line 31 of file sort_table.class.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,
string | $p_header | label of the header |
string | $p_url | base url |
string | $p_sql_asc | sql if ascending |
string | $p_sql_desc | sql if descending |
string | $p_get_asc | the value in $_GET if ascending is choosen |
string | $p_get_desc | the value in $_GET if descending is choosen |
Definition at line 47 of file sort_table.class.php.
References $array, $ind, $nb, $p_url, and nb().
Sort_Table::get_header | ( | $p_ind | ) |
Returns the header (the value into th tags) with the symbol ascending and descending.
int | $p_ind | the element (from 0 to nb) |
Definition at line 69 of file sort_table.class.php.
References $base, $file, $str, and nb().
Sort_Table::get_sql_order | ( | $p_get | ) |
Definition at line 87 of file sort_table.class.php.
|
private |
Definition at line 29 of file sort_table.class.php.
Referenced by add().
|
private |
Definition at line 28 of file sort_table.class.php.
Referenced by add(), and get_sql_order().