Render individual tab content.
2 calls to quicktabs_render_tab_content()
- quicktabs_ajax in ./
quicktabs.module - Ajax callback for tab content.
- quicktabs_render in ./
quicktabs.module - Render quicktabs.
File
-
./
quicktabs.module, line 342
Code
function quicktabs_render_tab_content($tab, $hide_empty = FALSE) {
static $cache;
$cachekey = md5(serialize($tab));
if (isset($cache[$cachekey])) {
return $cache[$cachekey];
}
$type = $tab['type'];
$func = '_quicktabs_build_content_' . $type;
$output = call_user_func_array($func, array(
$tab,
$hide_empty,
));
$cache[$cachekey] = $output;
return $output;
}