Mercurial > SimpleWebPresenter
diff Options.inc @ 62:b7efe2ecbc11
Wrapped everything in inputParser in a class.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 18:21:59 +0200 |
| parents | c6d0892f81ff |
| children | 74f7b64bdb78 |
line wrap: on
line diff
--- a/Options.inc Thu Oct 11 17:19:13 2012 +0200 +++ b/Options.inc Thu Oct 11 18:21:59 2012 +0200 @@ -16,6 +16,7 @@ private $basePath; private $flagUrl; private $baseUrl; + private $cacheable; /** * Gets the default language @@ -37,6 +38,16 @@ return $this->lang; } + function setCacheable($cacheable) + { + $this->cacheable = $cacheable; + } + + function getCacheable() + { + return $this->cacheable; + } + /** * Get the base url, or if non set, extracts it from _SERVER *
