当前位置: 首页>>代码示例>>PHP>>正文


PHP cache::domain_cache方法代码示例

本文整理汇总了PHP中cache::domain_cache方法的典型用法代码示例。如果您正苦于以下问题:PHP cache::domain_cache方法的具体用法?PHP cache::domain_cache怎么用?PHP cache::domain_cache使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在cache的用法示例。


在下文中一共展示了cache::domain_cache方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: extract

 function makecache_action()
 {
     set_time_limit(200);
     extract($_POST);
     include LIB_PATH . "cache.class.php";
     $cacheclass = new cache("../plus/", $this->obj);
     if (@in_array("1", $cache)) {
         $makecache = $cacheclass->city_cache("city.cache.php");
     }
     if (@in_array("2", $cache)) {
         $makecache = $cacheclass->industry_cache("industry.cache.php");
     }
     if (@in_array("3", $cache)) {
         $makecache = $cacheclass->job_cache("job.cache.php");
     }
     if (@in_array("4", $cache)) {
         $makecache = $cacheclass->user_cache("user.cache.php");
     }
     if (@in_array("5", $cache)) {
         $makecache = $cacheclass->com_cache("com.cache.php");
     }
     if (@in_array("6", $cache)) {
         $makecache = $cacheclass->menu_cache("menu.cache.php");
     }
     if (@in_array("7", $cache)) {
         $makecache = $this->tpl->clear_all_cache();
     }
     if (@in_array("8", $cache)) {
         $makecache = $cacheclass->seo_cache("seo.cache.php");
     }
     if (@in_array("9", $cache)) {
         $makecache = $cacheclass->domain_cache("domain_cache.php");
     }
     if (@in_array("10", $cache)) {
         $makecache = $cacheclass->keyword_cache("keyword.cache.php");
     }
     if (@in_array("11", $cache)) {
         $makecache = $cacheclass->link_cache("link.cache.php");
     }
     if (@in_array("12", $cache)) {
         $makecache = $cacheclass->group_cache("group.cache.php");
     }
     if ($makecache) {
         $this->obj->ACT_layer_msg("生成(ID:{$makecache})成功!", 9, "index.php?m=cache&c=cache", 2, 1);
     } else {
         $this->obj->ACT_layer_msg("生成(ID:{$makecache})失败!", 8, "index.php?m=cache&c=cache");
     }
 }
开发者ID:keyu199314,项目名称:php,代码行数:48,代码来源:cache.class.php

示例2: cache

 function DomainArr_action()
 {
     include LIB_PATH . "cache.class.php";
     $cacheclass = new cache(PLUS_PATH, $this->obj);
     $makecache = $cacheclass->domain_cache("domain_cache.php");
 }
开发者ID:justinyaoqi,项目名称:qyhr,代码行数:6,代码来源:admin_domain.class.php

示例3: extract

 function makecache_action()
 {
     set_time_limit(200);
     extract($_POST);
     include LIB_PATH . "cache.class.php";
     $cacheclass = new cache(PLUS_PATH, $this->obj);
     if (@in_array("1", $cache)) {
         $makecache = $cacheclass->city_cache("city.cache.php");
     }
     if (@in_array("2", $cache)) {
         $makecache = $cacheclass->industry_cache("industry.cache.php");
     }
     if (@in_array("3", $cache)) {
         $makecache = $cacheclass->job_cache("job.cache.php");
     }
     if (@in_array("4", $cache)) {
         $makecache = $cacheclass->user_cache("user.cache.php");
     }
     if (@in_array("5", $cache)) {
         $makecache = $cacheclass->com_cache("com.cache.php");
     }
     if (@in_array("6", $cache)) {
         $makecache = $cacheclass->menu_cache("menu.cache.php");
     }
     if (@in_array("7", $cache)) {
         $makecache = $this->del_dir("../data/templates_c", 1);
         $makecache = $this->del_dir("../data/cache", 1);
     }
     if (@in_array("8", $cache)) {
         $makecache = $cacheclass->seo_cache("seo.cache.php");
     }
     if (@in_array("9", $cache)) {
         $makecache = $cacheclass->domain_cache("domain_cache.php");
     }
     if (@in_array("10", $cache)) {
         $makecache = $cacheclass->keyword_cache("keyword.cache.php");
     }
     if (@in_array("11", $cache)) {
         $makecache = $cacheclass->link_cache("link.cache.php");
     }
     if (@in_array("12", $cache)) {
         $makecache = $cacheclass->group_cache("group.cache.php");
     }
     if (@in_array('13', $cache)) {
         $makecache = $cacheclass->desc_cache("desc.cache.php");
     }
     if (@in_array('14', $cache)) {
         include_once "model/model/advertise_class.php";
         $adver = new advertise($this->obj);
         $adver->model_ad_arr_action();
     }
     $makecache = $cacheclass->database_cache("dbstruct.cache.php");
     if ($makecache) {
         $this->ACT_layer_msg("生成(ID:{$makecache})成功!", 9, "index.php?m=cache&c=cache", 2, 1);
     } else {
         $this->ACT_layer_msg("生成(ID:{$makecache})失败!", 8, "index.php?m=cache&c=cache");
     }
 }
开发者ID:justinyaoqi,项目名称:qyhr,代码行数:58,代码来源:cache.class.php


注:本文中的cache::domain_cache方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。