PHPDBEditTk PHPDoc Docu
Filter functionality
gadmfilter url variable
You can transport parts of an SQL query into the handle_request()
function to apply a filter to the table view. This filter will be
used when getting matching rows for the table view.
To create a link with a filter on it, just assign an array the
gadmfilter variable and create a link from it with the URL/ state
manager class. The keys of the array determine the field and the
value the rest of the where clause.
...
$afilter = array(
"bandname" => " like 'a%'"
);
$sess->set_value("gadmfilter", $afilter);
$link = $sess->assemble();
...
Note: There are other ways no apply filters, which may override the
filter you set here. Please read up filter priorities
filter block form
tbw.
table filters
tbw.
Filter priorities
tbw.