/**
* "Getter" for an array of all entries for given key
*
+ * @param $arrayKey The array (key) to look in
* @param $lookFor The key to look for
* @return $entry An array with all keys
*/
- public function getArrayFromKey ($lookFor) {
+ public function getArrayFromKey ($arrayKey, $lookFor) {
// Init array
$entry = array();
// "Walk" over all entries
- foreach ($this->getEntries('object-name') as $key => $value) {
+ foreach ($this->getEntries($arrayKey) as $key => $value) {
// Debug message
//* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('REGISTRY: Checking key=' . $key . ',value=' . $value . ',lookFor=' . $lookFor);