Changeset 893 for trunk/Modules/Finance/Finance.php
- Timestamp:
- Jan 4, 2021, 9:55:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Finance.php
r891 r893 483 483 } 484 484 485 staticfunction GetModels(): array485 function GetModels(): array 486 486 { 487 487 return array( … … 503 503 'Contract' 504 504 ); 505 }506 507 function DoInstall(): void508 {509 foreach (self::GetModels() as $Model)510 {511 $this->InstallModel($Model::GetDesc());512 }513 }514 515 function DoUninstall(): void516 {517 foreach (array_reverse(self::GetModels()) as $Model)518 {519 $this->UninstallModel($Model::GetDesc());520 }521 505 } 522 506
Note:
See TracChangeset
for help on using the changeset viewer.