From 21fd2681fd6916154a2047c75fabb0e1b5bd09ba Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 22 Mar 2011 11:26:03 +0100 Subject: Alle ParentGroups und alle ChildGroups einer Gruppe herausfinden --- application/modules/user/controllers/IndexController.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'application/modules/user/controllers/IndexController.php') diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php index 8b295e0..74e1da7 100644 --- a/application/modules/user/controllers/IndexController.php +++ b/application/modules/user/controllers/IndexController.php @@ -22,6 +22,10 @@ class User_IndexController extends Zend_Controller_Action ); } $this->view->links = $links; + + $ggMapper = new Application_Model_GroupGroupsMapper(); + print_a('Your Parent Groups', $ggMapper->getParentGroups($_SESSION['membershipID'])); + print_a('Your Child Groups',$ggMapper->getChildGroups($_SESSION['membershipID'])); } } -- cgit v1.2.3-55-g7522