You are here

function views_plugin_row_heartbeat_rss::render in Heartbeat 6.4

Same name and namespace in other branches
  1. 7 views/views_plugin_row_heartbeat_rss.inc \views_plugin_row_heartbeat_rss::render()

File

views/views_plugin_row_heartbeat_rss.inc, line 15
Contains the heartbeat message RSS row style plugin.

Class

views_plugin_row_heartbeat_rss
Class views_plugin_row_heartbeat_rss Plugin which performs a node_view on the resulting object and formats it as an RSS item.

Code

function render($row) {
  $item = new stdClass();
  if (isset($row->message)) {
    $item->title = '';
    $item->description = $row->message;
    $item->time = $row->timestamp;
  }
  return theme($this
    ->theme_functions(), $this->view, $this->options, $item);
}