source: trunk/www/Application/Controller/Update.php@ 93

Last change on this file since 93 was 93, checked in by chronos, 12 years ago
  • Fixed: System variable as parameter to constructors of descendents of Module class.
  • Removed: End PHP mark "?>" from all files.
File size: 557 bytes
Line 
1<?php
2
3include_once(dirname(__FILE__).'/../../Base/Controller.php');
4include_once(dirname(__FILE__).'/../View/Page.php');
5include_once(dirname(__FILE__).'/../View/Update.php');
6
7class UpdateController extends Controller
8{
9 function ItemList()
10 {
11 $Page = new PageView($this->System);
12 $View = new UpdateView($this->System);
13 return($Page->GetOutput($View->ItemList()));
14 }
15
16 function Update()
17 {
18 $Page = new PageView($this->System);
19 $View = new UpdateView($this->System);
20 return($Page->GetOutput($View->Update()));
21 }
22}
Note: See TracBrowser for help on using the repository browser.