source:
Common/Base.php
| Last change on this file was 14, checked in by , 4 years ago | |
|---|---|
| File size: 269 bytes | |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | class Base |
| 4 | { |
| 5 | public System $System; |
| 6 | public Database $Database; |
| 7 | |
| 8 | function __construct(System $System) |
| 9 | { |
| 10 | $this->System = &$System; |
| 11 | $this->Database = &$System->Database; |
| 12 | } |
| 13 | |
| 14 | static function GetClassName() |
| 15 | { |
| 16 | return get_called_class(); |
| 17 | } |
| 18 | } |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PHPlib/chrome/site/your_project_logo.png)