diff options
| author | michael pereira | 2011-03-02 16:27:02 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-02 16:27:02 +0100 |
| commit | 0d14ddc91774912842e657f73f2eb1b9362bd5df (patch) | |
| tree | 813b88666f577d5f9cc0865b439304d74b57606b /application | |
| parent | Mapper gefixt (diff) | |
| download | pbs2-0d14ddc91774912842e657f73f2eb1b9362bd5df.tar.gz pbs2-0d14ddc91774912842e657f73f2eb1b9362bd5df.tar.xz pbs2-0d14ddc91774912842e657f73f2eb1b9362bd5df.zip | |
ka
Diffstat (limited to 'application')
| -rw-r--r-- | application/controllers/FilterController.php | 34 | ||||
| -rw-r--r-- | application/views/scripts/filter/index.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/person/index.phtml | 21 |
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;?> |
