|
Last change
on this file was 976, checked in by chronos, 5 months ago |
- Fixed: Autocreate missing DocumentSequenceNumber records for new years.
- Fixed: Wrong page index selection.
- Fixed: RSS feed formatting variable reference.
- Fixed: Do not parse RouterOS signal import if not connected to the remote host.
|
|
File size:
411 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 |
|
|---|
| 19 | public function __debugInfo()
|
|---|
| 20 | {
|
|---|
| 21 | $Vars = get_object_vars($this);
|
|---|
| 22 | unset($Vars['System'], $Vars['Database']);
|
|---|
| 23 | return $Vars;
|
|---|
| 24 | }
|
|---|
| 25 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.