You are here

function views_plugin_style_json::theme_functions in Views Datasource 6

Same name and namespace in other branches
  1. 7 views/plugins/views_plugin_style_json.inc \views_plugin_style_json::theme_functions()

Implementation of view_style_plugin::theme_functions(). Returns an array of theme functions to use for the current style plugin

Return value

array

1 call to views_plugin_style_json::theme_functions()
views_plugin_style_json::render in ./views_plugin_style_json.inc
Implementation of view_style_plugin::render()

File

./views_plugin_style_json.inc, line 104
Implementation of views_plugin_style for views_json

Class

views_plugin_style_json
Implementation of views_plugin_style

Code

function theme_functions() {
  $options = $this->options;
  if ($options['format'] == 'simple') {
    $hook = 'views_views_json_style_simple';
  }
  if ($options['format'] == 'exhibit') {
    $hook = 'views_views_json_style_exhibit';
  }
  return views_theme_functions($hook, $this->view, $this->display);
}