Changeset 3


Ignore:
Timestamp:
Dec 31, 2015, 10:51:31 PM (8 years ago)
Author:
chronos
Message:
  • Added: Error class to Common package.
  • Modified: Common package should not depend on common Package parent class.
Files:
1 added
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • Common/Common.php

    r2 r3  
    99include_once(dirname(__FILE__).'/UTF8.php');
    1010include_once(dirname(__FILE__).'/VarDumper.php');
     11include_once(dirname(__FILE__).'/Error.php');
    1112
     13class PackageCommon
     14{
     15  var $Name;
     16  var $Version;
     17  var $License;
     18  var $Creator;
     19  var $Homepage;
    1220
    13 class PackageCommon extends Package
    14 {
    1521  function __construct()
    1622  {
    1723    $this->Name = 'Common';
    18     $this->Version = '1.0';
     24    $this->Version = '1.1';
    1925    $this->Creator = 'Chronos';
    2026    $this->License = 'GNU/GPL';
  • PackageTemplate.php

    r2 r3  
    11<?php
    22
    3 class Package {
     3class PackageTemplate
     4{
    45  var $Name;
    56  var $Version;
     
    78  var $Creator;
    89  var $Homepage;
     10
     11  function __construct()
     12  {
     13    $this->Name = 'Template';
     14    $this->Version = '1.0';
     15    $this->Creator = 'Noname';
     16    $this->License = 'GNU/GPL';
     17    $this->Homepage = 'http://svn.zdechov.net/svn/PHPlib/Name/';
     18  }
    919}
Note: See TracChangeset for help on using the changeset viewer.