You are here

function views_xml_views_post_view in Views Datasource 5

post view to display the render icons

File

./views_xml.module, line 132
views_xml.module - provides Views plugin for rendering node content as XML.

Code

function views_xml_views_post_view($view, $items, $output) {
  $links = '';
  foreach ($view->argument as $id => $argument) {
    if ($argument['type'] == 'xml_raw' || $argument['type'] == 'xml_opml' || $argument['type'] == 'xml_atom') {
      $links .= views_xml_views_argument('post_view', $view, $argument['type'], '');
    }
  }
  return $links;
}