Changeset 63 for trunk/Packages/Common/Common.php
- Timestamp:
- Aug 3, 2021, 11:20:41 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 nbproject2 Config.php3 1 .settings 4 2 .project 5 3 .buildpath 4 .htaccess
-
- Property svn:ignore
-
trunk/Packages/Common/Common.php
r56 r63 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. 4';36 $this->ReleaseDate = strtotime('2020-0 4-07');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 } … … 43 53 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( $System)61 function __construct() 52 62 { 63 global $System; 64 53 65 $this->ItemPerPage = $System->Config['Web']['ItemsPerPage']; 54 66 $this->Around = $System->Config['Web']['VisiblePagingItems']; 55 67 } 56 68 57 function Show() 69 function Show(): string 58 70 { 59 71 $QueryItems = GetQueryStringArray($_SERVER['QUERY_STRING']);
Note:
See TracChangeset
for help on using the changeset viewer.