Редакция 304 | Редакция 308 | К новейшей редакции | Только различия | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 304 | Редакция 307 | ||
---|---|---|---|
1 | <?php
|
1 | <?php
|
2 | 2 | ||
3 | /**
|
3 | /**
|
4 | *
|
4 | *
|
5 | * Codename: ant-ng - generator of sources.list for Debian and
|
5 | * Codename: ant-ng - generator of sources.list for Debian and
|
6 | * distributives, based on Debian
|
6 | * distributives, based on Debian
|
7 | * http://alex-w.org.ru/p/antng/
|
7 | * http://alex-w.org.ru/p/antng/
|
8 | *
|
8 | *
|
9 | * Copyright (c) 2009 Alexander Wolf
|
9 | * Copyright (c) 2009 Alexander Wolf
|
10 | * Dual licensed under the MIT and GNU LGPL licenses.
|
10 | * Dual licensed under the MIT and GNU LGPL licenses.
|
11 | * http://alex-w.org.ru/p/antng/license
|
11 | * http://alex-w.org.ru/p/antng/license
|
12 | *
|
12 | *
|
13 | */
|
13 | */
|
14 | 14 | ||
15 | class Core { |
15 | class Core { |
- | 16 | protected $db = NULL; |
|
16 | 17 | ||
- | 18 | function __constructor($database) { |
|
- | 19 | $this->db = $database; |
|
- | 20 | }
|
|
- | 21 | ||
- | 22 | }
|
|
- | 23 | ||
- | 24 | class Security extends Core { |
|
- | 25 | function __constructor() { |
|
- | 26 | ||
- | 27 | }
|
|
- | 28 | }
|
|
- | 29 | ||
- | 30 | class Owner extends Core { |
|
- | 31 | function __constructor() { |
|
- | 32 | ||
- | 33 | }
|
|
17 | }
|
34 | }
|
18 | 35 | ||
19 | ?>
|
36 | ?>
|
20 | 37 |