protected function column_col3() { $words = $this->getWords(); if (!$this->isGroupMember() && $this->group->Type == 'NeedInvitation') { echo "not public"; } else { $group_id = $this->group->id; $wiki = new WikiController(); if ($this->isGroupMember()) { $wiki->editProcess(); } $wikipage = 'Group_' . str_replace(' ', '', ucwords($this->group->Name)); // for group names with "+" $wikipage = str_replace('+', '_', $wikipage); // for group names with umlaut etc. $wikipage = rawurlencode($wikipage); include "templates/groupwiki.column_col3.php"; } }
protected function column_col3() { $words = $this->getWords(); if (!$this->isGroupMember() && $this->group->Type == 'NeedInvitation') { echo "not public"; } else { $group_id = $this->group->id; $memberlist_widget = new GroupMemberlistWidget(); $memberlist_widget->setGroup($this->group); $memberCount = $this->group->getMemberCount(); $visibleMemberCount = count($this->group->getMembers()); $Forums = new ForumsController(); //$forums_widget->setGroup($this->getGroup()); $wiki = new WikiController(); if ($this->isGroupMember()) { $actionurl = 'group/' . $group_id; $wiki->editProcess($actionurl); } $wikipage = 'Group_' . str_replace(' ', '', ucwords($this->getGroupTitle())); include "templates/groupstart.php"; } }