|
@@ 379-390 (lines=12) @@
|
| 376 |
|
$mid_info = $oCacheHandler->get($cache_key); |
| 377 |
|
} |
| 378 |
|
|
| 379 |
|
if($mid_info === false) |
| 380 |
|
{ |
| 381 |
|
// Get data |
| 382 |
|
$args = new stdClass(); |
| 383 |
|
$args->module_srl = $module_srl; |
| 384 |
|
$output = executeQuery('module.getMidInfo', $args); |
| 385 |
|
if(!$output->toBool()) return; |
| 386 |
|
|
| 387 |
|
$mid_info = $output->data; |
| 388 |
|
$this->applyDefaultSkin($mid_info); |
| 389 |
|
if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $mid_info); |
| 390 |
|
} |
| 391 |
|
|
| 392 |
|
if($mid_info && count($columnList)) |
| 393 |
|
{ |
|
@@ 1981-1991 (lines=11) @@
|
| 1978 |
|
$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key); |
| 1979 |
|
$skin_vars = $oCacheHandler->get($cache_key); |
| 1980 |
|
} |
| 1981 |
|
if($skin_vars === false) |
| 1982 |
|
{ |
| 1983 |
|
$args = new stdClass; |
| 1984 |
|
$args->module_srl = $module_info->module_srl; |
| 1985 |
|
$output = executeQueryArray('module.getModuleMobileSkinVars',$args); |
| 1986 |
|
if(!$output->toBool()) return; |
| 1987 |
|
$skin_vars = $output->data; |
| 1988 |
|
|
| 1989 |
|
//insert in cache |
| 1990 |
|
if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars); |
| 1991 |
|
} |
| 1992 |
|
if(!$skin_vars) return; |
| 1993 |
|
|
| 1994 |
|
foreach($output->data as $val) |