You are here

class views_plugin_row_heartbeat_rss 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

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

Hierarchy

Expanded class hierarchy of views_plugin_row_heartbeat_rss

1 string reference to 'views_plugin_row_heartbeat_rss'
heartbeat_views_views_plugins in views/heartbeat_views.module
Implementation of hook_views_plugins().

File

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

View source
class views_plugin_row_heartbeat_rss extends views_plugin_row {
  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);
  }

}

Members