You are here

public function PublicHeartbeat::dressUpMessages in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 includes/publicheartbeat.inc \PublicHeartbeat::dressUpMessages()

Implementation of dressUpMessages().

Parameters

object HeartbeatParser $heartbeat: The heartbeat parser object

Return value

object HeartbeatParser $heartbeat

Overrides HeartbeatAccess::dressUpMessages

File

includes/publicheartbeat.inc, line 26

Class

PublicHeartbeat
Class PublicHeartbeat Concrete class to prepare messages for all users in the site of whom the heartbeat is set to public

Code

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