You are here

public function SiteActivity::dressUpMessages in Heartbeat 6.4

Implementation of dressUpMessages().

Parameters

object HeartbeatParser $heartbeat: The heartbeat parser object

Return value

object HeartbeatParser $heartbeat

Overrides HeartbeatAccess::dressUpMessages

File

modules/heartbeat_example/siteactivity.inc, line 29

Class

SiteActivity
Class SiteActivity Concrete class to prepare messages for whole site, to be customized UI wise

Code

public function dressUpMessages(HeartbeatParser $heartbeat) {
  $sql = " AND ua.access > 0 ";
  $heartbeat->raw_messages = $this
    ->resultSql($sql);
  return $heartbeat;
}