@@ 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 | { |
|
@@ 1979-1989 (lines=11) @@ | ||
1976 | $cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key); |
|
1977 | $skin_vars = $oCacheHandler->get($cache_key); |
|
1978 | } |
|
1979 | if($skin_vars === false) |
|
1980 | { |
|
1981 | $args = new stdClass; |
|
1982 | $args->module_srl = $module_info->module_srl; |
|
1983 | $output = executeQueryArray('module.getModuleMobileSkinVars',$args); |
|
1984 | if(!$output->toBool()) return; |
|
1985 | $skin_vars = $output->data; |
|
1986 | ||
1987 | //insert in cache |
|
1988 | if($oCacheHandler->isSupport()) $oCacheHandler->put($cache_key, $skin_vars); |
|
1989 | } |
|
1990 | if(!$skin_vars) return; |
|
1991 | ||
1992 | foreach($output->data as $val) |