Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->_groupsModel = new GroupsModel();
- parent::init();
- if (is_null($this->me)) {
- $this->_addMessage('You must be logged in to do that.');
- $this->_redirector->gotoUrl('/');
- } else {
- $this->_userMemberships = $this->_groupsModel->getGroupMembers(array('organization_id'), $this->me->user_id)->toArray();
- }
Add Comment
Please, Sign In to add comment