Last change
on this file since 577 was 577, checked in by chronos, 12 years ago |
- Modified: Moved some code from global to system file. System class is now serving as main application class. Now old files which still use ShowPage function need system initialization with $InitSystem = true; before global.php inclusion.
- Modified: Get rid of some global reference to $System, $Config and $User variables.
- Modified: Search result functionality moved to application module from action.php file.
|
File size:
366 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | class Page
|
---|
4 | {
|
---|
5 | var $System;
|
---|
6 | var $Database;
|
---|
7 | var $RawPage;
|
---|
8 |
|
---|
9 | function __construct($System)
|
---|
10 | {
|
---|
11 | $this->System = &$System;
|
---|
12 | $this->Database = &$System->Database;
|
---|
13 | $this->RawPage = false;
|
---|
14 | }
|
---|
15 |
|
---|
16 | function Show()
|
---|
17 | {
|
---|
18 | return('');
|
---|
19 | }
|
---|
20 |
|
---|
21 | function GetOutput()
|
---|
22 | {
|
---|
23 | $Output = $this->Show();
|
---|
24 | return($Output);
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.