Changeset 565 for trunk/Common


Ignore:
Timestamp:
Sep 1, 2013, 11:37:27 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Třída Module nahrazena třídami Model, View, Controller.
  • Přidáno: Modul Wiki.
Location:
trunk/Common
Files:
1 added
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Common/Base.php

    r564 r565  
    11<?php
    22
    3 class Module
     3class Base
    44{
    55  /** @var Database */
     
    77  /** @var System */
    88  var $System;
    9   var $Title = '';
    10   var $Dependencies = array();
    11   var $CurrentPath = '/';
    129
    1310  function __construct($System)
     
    1714  }
    1815}
     16
     17class Model extends Base
     18{
     19 
     20}
     21
     22class View extends Base
     23{
     24 
     25}
     26
     27class Controller extends Base
     28{
     29 
     30}
  • trunk/Common/Global.php

    r556 r565  
    1111include_once(dirname(__FILE__).'/Update.php');
    1212include_once(dirname(__FILE__).'/VarDumper.php');
    13 include_once(dirname(__FILE__).'/Module.php');
     13include_once(dirname(__FILE__).'/Base.php');
    1414include_once(dirname(__FILE__).'/AppModule.php');
    1515include_once(dirname(__FILE__).'/Database.php');
  • trunk/Common/Page.php

    r548 r565  
    33define('PAGE_NOT_FOUND', 'Stránka nenalezena');
    44
    5 class Page extends Module
     5class Page extends Model
    66{
    77  var $TimeStart;
  • trunk/Common/Version.php

    r564 r565  
    11<?php
    22
    3 $Revision = 564; // Subversion revision
    4 $DatabaseRevision = 551; // SQL structure revision
    5 $ReleaseTime = '2013-08-10';
     3$Revision = 565; // Subversion revision
     4$DatabaseRevision = 565; // SQL structure revision
     5$ReleaseTime = '2013-09-01';
Note: See TracChangeset for help on using the changeset viewer.