function _zoomapi_report_custom_list_get_header in Zoom API 7.2
Dynamically generate a table header based on an associative array.
1 call to _zoomapi_report_custom_list_get_header()
- _zoomapi_build_data_list in ./
zoomapi.admin.inc - Build data / report table.
File
- ./
zoomapi.admin.inc, line 299 - Page callbacks for Zoom API administrative pages.
Code
function _zoomapi_report_custom_list_get_header($properties) {
$header = [];
foreach ($properties as $property => $label) {
$header[$property] = [
'data' => $label,
'field' => $property,
];
}
return $header;
}