Ignore:
Timestamp:
Feb 17, 2021, 12:30:23 PM (4 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Document/Document.php

    r894 r899  
    11<?php
    22
    3 class ModuleDocument extends AppModule
     3class ModuleDocument extends Module
    44{
    55  function __construct(System $System)
     
    99    $this->Version = '1.0';
    1010    $this->Creator = 'Chronos';
    11     $this->License = 'GNU/GPL';
     11    $this->License = 'GNU/GPLv3';
    1212    $this->Description = 'Documents support';
    13     $this->Dependencies = array();
     13    $this->Models = array(FinanceYear::GetClassName(), DocumentLineCode::GetClassName(), DocumentLine::GetClassName(),
     14      DocumentLineSequence::GetClassName());
    1415  }
    1516
     
    7980    ));
    8081  }
    81 
    82   function GetModels(): array
    83   {
    84     return array(FinanceYear::GetClassName(), DocumentLineCode::GetClassName(), DocumentLine::GetClassName(),
    85       DocumentLineSequence::GetClassName());
    86   }
    8782}
    8883
    8984class DocumentLine extends Model
    9085{
    91   static function GetDesc(): ModelDesc
     86  static function GetModelDesc(): ModelDesc
    9287  {
    9388    $Desc = new ModelDesc(self::GetClassName());
     
    10196class DocumentLineCode extends Model
    10297{
    103   static function GetDesc(): ModelDesc
     98  static function GetModelDesc(): ModelDesc
    10499  {
    105100    $Desc = new ModelDesc(self::GetClassName());
     
    112107class DocumentLineSequence extends Model
    113108{
    114   static function GetDesc(): ModelDesc
     109  static function GetModelDesc(): ModelDesc
    115110  {
    116111    $Desc = new ModelDesc(self::GetClassName());
     
    125120class FinanceYear extends Model
    126121{
    127   static function GetDesc(): ModelDesc
     122  static function GetModelDesc(): ModelDesc
    128123  {
    129124    $Desc = new ModelDesc(self::GetClassName());
Note: See TracChangeset for help on using the changeset viewer.