foreach (array('default', 'choice', 'exclude') as $criteriaType) {
// Init it
$this->initGenericArrayKey('criteria', $criteriaType, 'entries');
- } // END - foreach
+ }
}
/**
foreach ($this->getGenericArray('criteria') as $criteriaType => $dummy) {
// Remove it
$this->unsetGenericArrayElement('criteria', $criteriaType, 'entries', $criteriaKey);
- } // END - foreach
+ }
}
/**
// Then count this one up
$counted++;
}
- } // END - foreach
- } // END - foreach
+ }
+ }
// Now check if expected criteria counts match
$matches = ($counted == $this->countGenericArrayGroup('criteria', $criteriaType));
urlencode($criteriaValue)
);
}
- } // END - foreach
+ }
// Remove last semicolon
$cacheKey = substr($cacheKey, 0, -1);