function _sheetnode_json in Sheetnode 5
1 call to _sheetnode_json()
File
- ./
sheetnode.module, line 689
Code
function _sheetnode_json($var = NULL) {
// We are returning JavaScript, so tell the browser.
drupal_set_header('Content-Type: text/javascript; charset=utf-8');
if (isset($var)) {
echo drupal_to_js($var);
}
}