You are here

function views_xhtml_views_post_view in Views Datasource 5

post view to display the render icons

File

./views_xhtml.module, line 117
Provides Views plugin for rendering node content as XHTML microformats.

Code

function views_xhtml_views_post_view($view, $items, $output) {
  $links = '';
  foreach ($view->argument as $id => $argument) {
    if ($argument['type'] == 'xhtml_hcard') {
      $links .= views_xhtml_hcard_views_argument('post_view', $view, $argument['type'], '');
    }
    if ($argument['type'] == 'xhtml_hcalendar') {
      $links .= views_xhtml_hcalendar_views_argument('post_view', $view, $argument['type'], '');
    }
  }
  return $links;
}