275. $checkExceptions = true,
276. $usePush = false,
277. $idShop = null
278. ) {
279. if (!Configuration::get('TB_PAGE_CACHE_ENABLED')) {
280. return static::execWithoutCache($hookName, $hookArgs, $idModule, $arrayReturn, $checkExceptions, $usePush, $idShop);
281. }
282.
283. $activehooks = json_decode(Configuration::get('TB_PAGE_CACHE_HOOKS'), true);
284.
285. $found = false;