本文整理汇总了PHP中cache::job_cache方法的典型用法代码示例。如果您正苦于以下问题:PHP cache::job_cache方法的具体用法?PHP cache::job_cache怎么用?PHP cache::job_cache使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cache
的用法示例。
在下文中一共展示了cache::job_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");
}
}
示例2: cache
function cache_action()
{
include LIB_PATH . "cache.class.php";
$cacheclass = new cache("../plus/", $this->obj);
$makecache = $cacheclass->job_cache("job.cache.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");
}
}