Mercurial > SimpleWebPresenter
comparison Options.inc @ 32:7b19be62ea94
Remove yet another global, replace by CacheTimeCheck class.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 04 Oct 2012 19:46:11 +0200 |
| parents | 394b5df43d1a |
| children | 511b6514823f |
comparison
equal
deleted
inserted
replaced
| 30:647b72603b7d | 32:7b19be62ea94 |
|---|---|
| 4 private $defaultLang; | 4 private $defaultLang; |
| 5 private $lang; | 5 private $lang; |
| 6 private $name; | 6 private $name; |
| 7 private $acceptedLanguages = array(); | 7 private $acceptedLanguages = array(); |
| 8 private $inputDefaults = array(); | 8 private $inputDefaults = array(); |
| 9 private $cache; | |
| 9 | 10 |
| 10 function getDefaultLang() | 11 function getDefaultLang() |
| 11 { | 12 { |
| 12 return $this->defaultLang; | 13 return $this->defaultLang; |
| 13 } | 14 } |
| 28 } | 29 } |
| 29 | 30 |
| 30 function getName() | 31 function getName() |
| 31 { | 32 { |
| 32 return $this->name; | 33 return $this->name; |
| 34 } | |
| 35 | |
| 36 function setCache($cache) | |
| 37 { | |
| 38 $this->cache = $cache; | |
| 39 } | |
| 40 | |
| 41 function getCache() | |
| 42 { | |
| 43 return $this->cache; | |
| 33 } | 44 } |
| 34 | 45 |
| 35 function getAcceptedLanguages() | 46 function getAcceptedLanguages() |
| 36 { | 47 { |
| 37 return $this->acceptedLanguages; | 48 return $this->acceptedLanguages; |
