You are here

function heartbeat_stream_build in Heartbeat 7

Builds a heartbeat stream in the StreamObject.

5 calls to heartbeat_stream_build()
heartbeat_activity_older in ./heartbeat.pages.inc
JavaScript callback to load older messages.
heartbeat_activity_poll in ./heartbeat.pages.inc
Callback to poll for newer messages. Each stream is displayed within a context.
heartbeat_block_view in ./heartbeat.module
Implements hook_block_view().
heartbeat_messages_page in ./heartbeat.pages.inc
Page callback function to load an activity stream page
heartbeat_message_activity in ./heartbeat.pages.inc
Page callback for one activity message.

File

./heartbeat.streams.inc, line 55

Code

function heartbeat_stream_build(HeartbeatStream &$heartbeatStream) {

  // Load the messages.
  $messages = $heartbeatStream
    ->execute();
}