You are here

private function MembersActivity::setGroup in Heartbeat 7

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

setGroup

Sets the group for a given node ID.

Parameters

Integer $nid: The group node ID.

1 call to MembersActivity::setGroup()
MembersActivity::detectGroup in modules/heartbeat_og/streams/membersactivity.inc
detectGroup

File

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

Class

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

Code

private function setGroup($nid) {
  $this->nid = $nid;
  $this->group = node_load($this->nid);
}