function &getCache() { $f = false; return $f; $arg_list = func_get_args(); $hash = ''; for ($i = 0; $i < count($arg_list); $i++) { $hash .= serialize($arg_list[$i]); } $hash = md5($hash); if (isset(vmPlugin::$qCache[$hash])) { // we have a match, let's measure it $counta = vmPlugin::$ccount; if (empty($counta)) { vmPlugin::$ccount = 1; } else { vmPlugin::$ccount++; } return vmPlugin::$qCache[$hash]; } $res = false; /* $cache = JFactory::getCache(); $orig = $cache->getCaching(); $cache->setCaching( 1 ); $res = $cache->get($hash, 'opccache'); $cache->setCaching( $orig ); */ return $res; }