public function HeartbeatStream::hasAccess in Heartbeat 7
hasAccess
Parameters
$text:
Return value
boolean to indicate the access to the stream
2 calls to HeartbeatStream::hasAccess()
- HeartbeatStream::render in includes/
heartbeatstream.inc - Render().
- HeartbeatStream::result in includes/
heartbeatstream.inc - result Prepares a query, makes it available to alter it and finally executes it.
4 methods override HeartbeatStream::hasAccess()
- GroupActivity::hasAccess in modules/
heartbeat_og/ streams/ groupactivity.inc - hasAccess
- GroupsActivity::hasAccess in modules/
heartbeat_og/ streams/ groupsactivity.inc - hasAccess
- MembersActivity::hasAccess in modules/
heartbeat_og/ streams/ membersactivity.inc - hasAccess
- SingleActivity::hasAccess in streams/
singleactivity.inc - hasAccess
File
- includes/
heartbeatstream.inc, line 201 - HeartbeatStream 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
- HeartbeatStream
- Abstract class HeartbeatStream This base class has final template methods which are used by the derived concretes. The HeartbeatStream is a state object that is given to the HeartbeatStreamBuilder to set the access to the current request.
Code
public function hasAccess() {
return TRUE;
}