diff options
Diffstat (limited to 'application/controllers/FilterController.php')
| -rw-r--r-- | application/controllers/FilterController.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/application/controllers/FilterController.php b/application/controllers/FilterController.php deleted file mode 100644 index 6a80ab9..0000000 --- a/application/controllers/FilterController.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -class FilterController extends Zend_Controller_Action -{ - private $_filtermapper; - public function init() - { - try{ - $this->_filtermapper = new Application_Model_FilterMapper(); - }catch (Zend_Exception $e) { - echo "Error message 1: " . $e->getMessage() . "\n"; - } - /* Initialize action controller here */ - - } - - public function indexAction() - { - try{ - $data = $this->_filtermapper->fetchAll(); - print_r( - $view = new Zend_View(); - - // tell it to use htmlentities as the escaping callback - $view->setEscape('htmlentities'); - #echo $view->render(); - }catch (Zend_Exception $e) { - echo "Error message 2: " . $e->getMessage() . "\n"; - } - } - - -} - |
