function sheetnode_plugin_style::render in Sheetnode 7.2
Same name and namespace in other branches
- 6 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::render()
- 7 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::render()
Render sheetnode plugin style.
Overrides views_plugin_style::render
2 methods override sheetnode_plugin_style::render()
- sheetnode_phpexcel_plugin_style::render in modules/
sheetnode_phpexcel/ sheetnode_phpexcel_plugin_style.inc - Render sheetnode plugin style.
- sheetnode_raw_plugin_style::render in views/
sheetnode_raw_plugin_style.inc - Render plugin style.
File
- views/
sheetnode_plugin_style.inc, line 551
Class
- sheetnode_plugin_style
- Extentions for sheetnode plugin style.
Code
function render() {
foreach ($this->view->field as $field => $info) {
// Don't render here if we're making an editable spreadsheet view.
if ($info instanceof sheetnode_handler_field_editable) {
return;
}
}
$value = socialcalc_save($this
->render_sheet());
$element = array();
$this
->render_inject($value, FALSE, $element, '#markup');
return $element;
}