public function FrxDrupal::searchTables in Forena Reports 7.4
Method to return an array of tables that start with the string indicated in $str
Parameters
$str Name of tables.:
Return value
multitype:
Overrides FrxDataSource::searchTables
File
- plugins/
FrxDrupal.inc, line 34 - Provides data blocks for native drupal connections using the default drupal connections.
Class
- FrxDrupal
- @file Provides data blocks for native drupal connections using the default drupal connections.
Code
public function searchTables($str) {
$str .= '%';
$rs = db_query($this
->searchTablesSQL(), array(
':str' => $str,
));
if ($rs) {
return $rs
->fetchCol();
}
}