You are here

protected function HeartbeatAccess::hasAccess in Heartbeat 6.4

hasAccess

Parameters

$text:

Return value

boolean to indicate the access to the stream

1 call to HeartbeatAccess::hasAccess()
HeartbeatAccess::fetchMessages in includes/heartbeataccess.inc
4 methods override HeartbeatAccess::hasAccess()
MembersActivity::hasAccess in modules/og_activity/membersactivity.inc
hasAccess
OgHeartbeat::hasAccess in modules/og_activity/ogheartbeat.inc
hasAccess
SingleHeartbeat::hasAccess in includes/singleheartbeat.inc
hasAccess
SiteActivity::hasAccess in modules/heartbeat_example/siteactivity.inc
hasAccess

File

includes/heartbeataccess.inc, line 119
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 hasAccess() {
  return TRUE;
}