summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/FilterController.php34
-rw-r--r--application/views/scripts/filter/index.phtml1
-rw-r--r--application/views/scripts/person/index.phtml21
3 files changed, 0 insertions, 56 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";
- }
- }
-
-
-}
-
diff --git a/application/views/scripts/filter/index.phtml b/application/views/scripts/filter/index.phtml
deleted file mode 100644
index bace90f..0000000
--- a/application/views/scripts/filter/index.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Filter</b> and script/action name <b>index</b></center> \ No newline at end of file
diff --git a/application/views/scripts/person/index.phtml b/application/views/scripts/person/index.phtml
deleted file mode 100644
index 710e08f..0000000
--- a/application/views/scripts/person/index.phtml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php if ($this->filters): ?>
-
- <!-- A table of filters. -->
- <table>
- <tr>
- <th>filterid</th>
- </tr>
-
- <?php foreach ($this->filters as $key => $val): ?>
- <tr>
- <td><?php echo $this->escape($val['title']) ?></td>
- </tr>
- <?php endforeach; ?>
-
- </table>
-
-<?php else: ?>
-
- <p>There are no filters to display.</p>
-
-<?php endif;?>