diff 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
line wrap: on
line diff
--- a/Options.inc	Thu Oct 11 20:36:24 2012 +0200
+++ b/Options.inc	Thu Oct 11 22:11:33 2012 +0200
@@ -16,7 +16,7 @@
   private $basePath;
   private $flagUrl;
   private $baseUrl;
-  private $cacheable;
+  private $cacheable = True;
 
   /**
    * Gets the default language
@@ -38,11 +38,21 @@
     return $this->lang;
   }
 
+  /**
+   *  Sets wether or not this page may be cached
+   *
+   * @param $cacheable bool
+   */
   function setCacheable($cacheable)
   {
     $this->cacheable = $cacheable;
   }
 
+  /**
+   * Gets wether or not this page may be cached
+   *
+   * @return bool, default is True
+   */
   function getCacheable()
   {
     return $this->cacheable;