function _tvi_update_load_6002 in Taxonomy Views Integrator 6
1 call to _tvi_update_load_6002()
- tvi_update_6002 in ./
tvi.install - Implements tvi_hook_update_N().
File
- ./
tvi.install, line 193 - Installation file for TVI module.
Code
function _tvi_update_load_6002() {
// get results as they stand (currently has view_id not view_name
$results = db_query("SELECT * FROM {tvi_settings}");
$map = array();
while ($row = db_fetch_object($results)) {
if ($view = views_get_view($row->view_id)) {
$row->view_name = $view->name;
$map[] = $row;
}
}
return $map;
}