You are here

views_plugin_row_heartbeat_rss.inc in Heartbeat 6.4

Same filename and directory in other branches
  1. 7 views/views_plugin_row_heartbeat_rss.inc

Contains the heartbeat message RSS row style plugin.

File

views/views_plugin_row_heartbeat_rss.inc
View source
<?php

/**
 * @file
 *   Contains the heartbeat message RSS row style plugin.
 */

/**
 * Class views_plugin_row_heartbeat_rss
 *   Plugin which performs a node_view on the resulting object
 *   and formats it as an RSS item.
 */
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);
  }

}

Classes

Namesort descending Description
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.