You are here

public function GroupActivity::hasAccess in Heartbeat 7

hasAccess

Parameters

$text:

Return value

boolean to indicate the access to the stream

Overrides HeartbeatStream::hasAccess

File

modules/heartbeat_og/streams/groupactivity.inc, line 71
Defines a stream for Group Activity.

Class

GroupActivity
Concrete class GroupActivity Defines a stream for activity within a group.

Code

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