You are here

public function MembersActivity::hasAccess in Heartbeat 7

Same name and namespace in other branches
  1. 6.4 modules/og_activity/membersactivity.inc \MembersActivity::hasAccess()

hasAccess

Parameters

$text:

Return value

boolean to indicate the access to the stream

Overrides HeartbeatStream::hasAccess

File

modules/heartbeat_og/streams/membersactivity.inc, line 71
Defines a stream for Member Activity.

Class

MembersActivity
Concrete class MembersActivity Defines a stream displaying all activity from members in a group.

Code

public function hasAccess() {
  return $this->nid > 0 ? TRUE : FALSE;
}