source: trunk/Packages/Common/Model.php

Last change on this file was 8, checked in by chronos, 18 months ago
  • Modified: Updated Common package.
  • Modified: Form types made as separate FormManager package.
  • Fixed: PHP 8.1 support.
File size: 244 bytes
Line 
1<?php
2
3class Model extends Base
4{
5 static function GetModelDesc(): ModelDesc
6 {
7 $Desc = new ModelDesc(self::GetClassName());
8 $Desc->AddString('Name');
9 $Desc->AddReference('Module', Module::GetClassName());
10 return $Desc;
11 }
12}
Note: See TracBrowser for help on using the repository browser.