|
Last change
on this file was 8, checked in by maron, 13 years ago |
|
podpora jazyků
|
-
Property svn:executable
set to
*
|
|
File size:
394 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | // Language class
|
|---|
| 3 | // Date: 2012-06-12
|
|---|
| 4 |
|
|---|
| 5 | class Language
|
|---|
| 6 | {
|
|---|
| 7 |
|
|---|
| 8 | public $Texts = array();
|
|---|
| 9 | protected $Config;
|
|---|
| 10 |
|
|---|
| 11 | function __construct()
|
|---|
| 12 | {
|
|---|
| 13 | $this->Config = new Config();
|
|---|
| 14 | include($this->Config->Web['Language'].'_lang.php');
|
|---|
| 15 | $this->Texts = $Texts;
|
|---|
| 16 |
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | //Generate and show this page
|
|---|
| 20 | public function Get($key) {
|
|---|
| 21 | return $this->Texts[$key];
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | }
|
|---|
| 26 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.