public function FrxDrupal::searchTables in Forena Reports 7.5
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
- src/
Driver/ FrxDrupal.php, line 36 - Provides data blocks for native drupal connections using the default drupal connections.
Class
Namespace
Drupal\forena\DriverCode
public function searchTables($str) {
$str .= '%';
$rs = db_query($this
->searchTablesSQL(), array(
':str' => $str,
));
if ($rs) {
return $rs
->fetchCol();
}
}