source: trunk/www/Module/Update/Controller.php

Last change on this file was 95, checked in by chronos, 10 years ago
  • Upraveno: Soubory různých logických částí systému odděleny do aplikačních modulů.
File size: 562 bytes
Line 
1<?php
2
3include_once(dirname(__FILE__).'/../../Base/Controller.php');
4include_once(dirname(__FILE__).'/../../Application/View/Page.php');
5include_once(dirname(__FILE__).'/View.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.