source: trunk/Packages/Common/Base.php

Last change on this file was 39, checked in by chronos, 4 years ago
  • Added: Support for locales and czech language. It can be switched on from top language selector.
File size: 453 bytes
Line 
1<?php
2
3class System
4{
5 /* @var Database */
6 var $Database;
7
8 function __construct()
9 {
10 $this->Database = new Database();
11 }
12}
13
14class Base
15{
16 /** @var Application */
17 var $System;
18 /* @var Database */
19 var $Database;
20
21 function __construct(Application $System)
22 {
23 $this->System = &$System;
24 $this->Database = &$System->Database;
25 }
26}
27
28class Model extends Base
29{
30
31}
32
33class View extends Base
34{
35
36}
37
38class Controller extends Base
39{
40
41}
Note: See TracBrowser for help on using the repository browser.