コード例 #1
0
 function __construct($api = false)
 {
     $this->cache = array();
     parent::__construct($api);
     if (self::$preview_mode) {
         PerchBlog_Cache::disable();
     }
 }
コード例 #2
0
 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';
     }
 }
 function __construct($api = false)
 {
     $this->cache = array();
     parent::__construct($api);
 }
コード例 #4
0
 function __construct($api = false)
 {
     $this->authenticator_path = PerchUtil::file_path(PERCH_PATH . '/addons/apps/perch_members/authenticators/');
     parent::__construct($api);
 }