comparison Options.inc @ 66:74f7b64bdb78

Lots of documentation fixes, and removal of unused function getXmlContent
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 22:11:33 +0200
parents b7efe2ecbc11
children 2a8e2f571b24
comparison
equal deleted inserted replaced
65:7b87ec8b0842 66:74f7b64bdb78
14 private $cache; 14 private $cache;
15 private $urlParams = array(); 15 private $urlParams = array();
16 private $basePath; 16 private $basePath;
17 private $flagUrl; 17 private $flagUrl;
18 private $baseUrl; 18 private $baseUrl;
19 private $cacheable; 19 private $cacheable = True;
20 20
21 /** 21 /**
22 * Gets the default language 22 * Gets the default language
23 * 23 *
24 * @return two letter code for the language 24 * @return two letter code for the language
36 function getLang() 36 function getLang()
37 { 37 {
38 return $this->lang; 38 return $this->lang;
39 } 39 }
40 40
41 /**
42 * Sets wether or not this page may be cached
43 *
44 * @param $cacheable bool
45 */
41 function setCacheable($cacheable) 46 function setCacheable($cacheable)
42 { 47 {
43 $this->cacheable = $cacheable; 48 $this->cacheable = $cacheable;
44 } 49 }
45 50
51 /**
52 * Gets wether or not this page may be cached
53 *
54 * @return bool, default is True
55 */
46 function getCacheable() 56 function getCacheable()
47 { 57 {
48 return $this->cacheable; 58 return $this->cacheable;
49 } 59 }
50 60