diff options
| author | Simon | 2011-03-21 14:07:06 +0100 |
|---|---|---|
| committer | Simon | 2011-03-21 14:07:06 +0100 |
| commit | 15437db2980b0ab7782fe1dab261aa75b6b0b410 (patch) | |
| tree | ba626719c49ae732127ada0f44ec2c22c253d3c7 /application/modules/fbgui/controllers/IndexController.php | |
| parent | merge (diff) | |
| download | pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.tar.gz pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.tar.xz pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.zip | |
Filter angepasst, wenn keine Mitgliedschaft besteht
fbgui als beispiel mit bootmenu ausgestattet
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index f5f8cdf..fe457b6 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -10,7 +10,10 @@ class Fbgui_IndexController extends Zend_Controller_Action public function indexAction() { - + if(isset($_SESSION['postdata'])){ + $_POST = ($_SESSION['postdata']); + unset($_SESSION['postdata']); + } $keys = $this->_request->getParam('keys'); $post = $this->_request->getParam('post'); if($post != '' && $keys != ''){ @@ -51,10 +54,11 @@ class Fbgui_IndexController extends Zend_Controller_Action // Request Bootmenu $pbsFilter = new Pbs_Filter(); $bootmenuID = $pbsFilter->evaluate(); - print_a('bootmenuID is ',$bootmenuID); if($bootmenuID != null){ - print_a('goto bootmenu'); - #$this->_redirect('/dev/bootmenu/index/bootmenuid/'.$bootmenuID); + print_a('goto bootmenu '.$bootmenuID); + $bootmenuentriesMapper = new Application_Model_BootMenuEntriesMapper(); + $res = $bootmenuentriesMapper->findBy('bootmenuID',$bootmenuID); + $this->view->entries = $res; } else{ print_a('no filter is valid, goto login'); @@ -65,7 +69,7 @@ class Fbgui_IndexController extends Zend_Controller_Action echo "<h1>Not Welcome</h1>"; print_a($_POST); } - die(); + } |
