Last change
on this file was 95, checked in by chronos, 11 years ago |
- Upraveno: Soubory různých logických částí systému odděleny do aplikačních modulů.
|
File size:
552 bytes
|
Rev | Line | |
---|
[72] | 1 | <?php
|
---|
| 2 |
|
---|
[78] | 3 | include_once(dirname(__FILE__).'/../../Base/Controller.php');
|
---|
[95] | 4 | include_once(dirname(__FILE__).'/../../Application/View/Page.php');
|
---|
| 5 | include_once(dirname(__FILE__).'/View.php');
|
---|
[78] | 6 |
|
---|
[72] | 7 | class NewsController extends Controller
|
---|
| 8 | {
|
---|
| 9 | function Add()
|
---|
| 10 | {
|
---|
| 11 | $Page = new PageView($this->System);
|
---|
| 12 | $View = new NewsView($this->System);
|
---|
| 13 | return($Page->GetOutput($View->Add()));
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | function AddFinish()
|
---|
| 17 | {
|
---|
| 18 | $Page = new PageView($this->System);
|
---|
| 19 | $View = new NewsView($this->System);
|
---|
| 20 | return($Page->GetOutput($View->AddFinish()));
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.