You are here

protected function HeartbeatAccess::dressUpMessages in Heartbeat 6.4

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

Parameters

$text:

Return value

HeartbeatParser object

1 call to HeartbeatAccess::dressUpMessages()
HeartbeatAccess::fetchMessages in includes/heartbeataccess.inc
7 methods override HeartbeatAccess::dressUpMessages()
ConnectedHeartbeat::dressUpMessages in modules/friendlist_activity/connectedheartbeat.inc
Override dressupMessages to change the query.
GroupsActivity::dressUpMessages in modules/og_activity/groupsactivity.inc
MembersActivity::dressUpMessages in modules/og_activity/membersactivity.inc
dressUpMessages
OgHeartbeat::dressUpMessages in modules/og_activity/ogheartbeat.inc
dressUpMessages
PrivateHeartbeat::dressUpMessages in includes/privateheartbeat.inc

... See full list

File

includes/heartbeataccess.inc, line 336
HeartbeatAccess object is the object that takes stream configuration to create a stream of activity objects. It is the controlling organ at the pre-query, query and post-query phases.

Class

HeartbeatAccess
Abstract class heartbeataccess This base class has final template methods which are used by the derived concretes. The HeartbeatAccess is a state object that is given to the HeartbeatMessageBuilder to set the access to the current request.

Code

protected function dressUpMessages(HeartbeatParser $heartbeat) {
  $heartbeat->raw_messages = $this
    ->resultSql();
  return $heartbeat;
}