Changeset 95 for trunk/Packages/Common/Common.php
- Timestamp:
- Dec 6, 2021, 11:33:48 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Common.php
r94 r95 11 11 include_once(dirname(__FILE__).'/Error.php'); 12 12 include_once(dirname(__FILE__).'/Base.php'); 13 include_once(dirname(__FILE__).'/Application.php'); 14 include_once(dirname(__FILE__).'/AppModule.php'); 13 include_once(dirname(__FILE__).'/View.php'); 14 include_once(dirname(__FILE__).'/Model.php'); 15 include_once(dirname(__FILE__).'/ModelDesc.php'); 16 include_once(dirname(__FILE__).'/Controller.php'); 17 include_once(dirname(__FILE__).'/System.php'); 18 include_once(dirname(__FILE__).'/Module.php'); 19 include_once(dirname(__FILE__).'/ModuleManager.php'); 15 20 include_once(dirname(__FILE__).'/Config.php'); 16 21 include_once(dirname(__FILE__).'/Page.php'); 17 22 include_once(dirname(__FILE__).'/Locale.php'); 18 23 include_once(dirname(__FILE__).'/Update.php'); 19 include_once(dirname(__FILE__).'/Setup.php');20 24 include_once(dirname(__FILE__).'/Table.php'); 21 25 include_once(dirname(__FILE__).'/Process.php'); 26 include_once(dirname(__FILE__).'/Generics.php'); 27 include_once(dirname(__FILE__).'/BigInt.php'); 28 include_once(dirname(__FILE__).'/Int128.php'); 29 include_once(dirname(__FILE__).'/Pdf.php'); 30 include_once(dirname(__FILE__).'/Modules/Setup.php'); 31 include_once(dirname(__FILE__).'/Modules/ModuleManager.php'); 22 32 23 33 class PackageCommon 24 34 { 25 var$Name;26 var$Version;27 var$ReleaseDate;28 var$License;29 var$Creator;30 var$Homepage;35 public string $Name; 36 public string $Version; 37 public int $ReleaseDate; 38 public string $License; 39 public string $Creator; 40 public string $Homepage; 31 41 32 42 function __construct() 33 43 { 34 44 $this->Name = 'Common'; 35 $this->Version = '1. 3';36 $this->ReleaseDate = strtotime('20 19-10-04');45 $this->Version = '1.2'; 46 $this->ReleaseDate = strtotime('2020-03-29'); 37 47 $this->Creator = 'Chronos'; 38 $this->License = 'GNU/GPL ';48 $this->License = 'GNU/GPLv3'; 39 49 $this->Homepage = 'https://svn.zdechov.net/PHPlib/Common/'; 40 50 } 41 51 } 42 52 43 class Paging extends Base53 class Paging 44 54 { 45 var$TotalCount;46 var$ItemPerPage;47 var$Around;48 var$SQLLimit;49 var$Page;55 public int $TotalCount; 56 public int $ItemPerPage; 57 public int $Around; 58 public string $SQLLimit; 59 public int $Page; 50 60 51 function __construct( Application &$System)61 function __construct() 52 62 { 53 parent::__construct($System);63 global $System; 54 64 55 65 $this->ItemPerPage = $System->Config['Web']['ItemsPerPage']; … … 57 67 } 58 68 59 function Show() 69 function Show(): string 60 70 { 61 71 $QueryItems = GetQueryStringArray($_SERVER['QUERY_STRING']);
Note:
See TracChangeset
for help on using the changeset viewer.