Rev 173 | Rev 193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 173 | Rev 186 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | <?php
|
1 | <?php
|
| 2 | 2 | ||
| 3 | require_once 'Controller.php'; |
- | |
| 4 | - | ||
| 5 | require_once 'application/views/IndexView.php'; |
3 | require_once 'application/views/IndexView.php'; |
| - | 4 | // require_once 'application/models/mappers/SeriesMapper.php';
|
|
| 6 | 5 | ||
| 7 | class IndexController extends Controller |
6 | class IndexController extends \PointedEars\PHPX\Controller |
| 8 | {
|
7 | {
|
| 9 | /**
|
8 | /**
|
| 10 | * Creates a new controller for the index view
|
9 | * Creates a new controller for the index view
|
| 11 | *
|
10 | *
|
| 12 | * @see Controller::__construct()
|
11 | * @see Controller::__construct()
|
| Line 108... | Line 107... | ||
| 108 | 107 | ||
| 109 | $this->assign('serien', $serien); |
108 | $this->assign('serien', $serien); |
| 110 | $this->assign('min_series', $min_series); |
109 | $this->assign('min_series', $min_series); |
| 111 | $this->render(); |
110 | $this->render(); |
| 112 | }
|
111 | }
|
| - | 112 | ||
| - | 113 | // public function importAction ()
|
|
| - | 114 | // {
|
|
| - | 115 | // require_once 'data.inc';
|
|
| - | 116 | // header('Content-Type: text/html; charset=UTF-8');
|
|
| - | 117 | // SeriesMapper::getInstance()->importAll($serien);
|
|
| - | 118 | // }
|
|
| 113 | }
|
119 | }
|
| 114 | 120 | ||