59 $this->solutions[] = array(
60 self::$USER_SOLUTION_IDENTIFIER_KEY => $key,
61 self::$USER_SOLUTION_IDENTIFIER_VALUE => $value
70 foreach($this->solutions as $array_key => $solution)
72 if($solution[self::$USER_SOLUTION_IDENTIFIER_KEY] == $key)
74 unset($this->solutions[$array_key]);
89 $identifier != self::$USER_SOLUTION_IDENTIFIER_KEY &&
90 $identifier != self::$USER_SOLUTION_IDENTIFIER_VALUE
93 throw new Exception(sprintf(
"Unkown Identifier %s", $identifier));
97 foreach($this->solutions as $solution)
119 foreach($this->solutions as $solution)
121 if($solution[self::$USER_SOLUTION_IDENTIFIER_KEY] == $key)
150 return count($this->solutions) > 0;