function __construct($api = false)
 {
     $this->cache = array();
     parent::__construct($api);
     if (self::$preview_mode) {
         PerchBlog_Cache::disable();
     }
 }
 function __construct($api = false)
 {
     $this->cache = array();
     parent::__construct($api);
     if (self::$preview_mode) {
         PerchBlog_Cache::disable();
     }
     if (!class_exists('PerchCategories_Categories')) {
         include_once PERCH_CORE . '/apps/categories/PerchCategories_Categories.class.php';
         include_once PERCH_CORE . '/apps/categories/PerchCategories_Category.class.php';
         include_once PERCH_CORE . '/apps/categories/PerchCategories_Sets.class.php';
         include_once PERCH_CORE . '/apps/categories/PerchCategories_Set.class.php';
     }
 }