*/
function getCriteriaExcludeArray ();
+ /**
+ * Unsets a criteria key from all criteria types
+ *
+ * @param $criteriaKey Criteria key to unset
+ * @return void
+ */
+ function unsetCriteria ($criteriaKey);
+
/**
* Add criteria, this method converts dashes to underscores because dashes
* are not valid for criteria keys.
function addConfiguredCriteria ($criteriaKey, $configEntry, $criteriaType = 'default');
/**
- * Get criteria element or null if not found
+ * Get criteria element or FALSE if not found
*
* @param $criteriaKey The requested criteria key
* @param $criteriaType Type of this criteria, can be one of 'default' (default), 'choice' or 'exclude'
- * @return $value Whether the value of the critera or null
+ * @return $value Whether the value of the critera or FALSE
*/
function getCriteriaElemnent ($criteriaKey, $criteriaType = 'default');
/**
- * Get criteria element or null if not found for 'choice' type
+ * Get criteria element or FALSE if not found for 'choice' type
*
* @param $criteriaKey The requested criteria key
- * @return $value Whether the value of the critera or null
+ * @return $value Whether the value of the critera or FALSE
*/
function getCriteriaChoiceElemnent ($criteriaKey);
/**
- * Get criteria element or null if not found for 'exclude' type
+ * Get criteria element or FALSE if not found for 'exclude' type
*
* @param $criteriaKey The requested criteria key
- * @return $value Whether the value of the critera or null
+ * @return $value Whether the value of the critera or FALSE
*/
function getCriteriaExcludeElemnent ($criteriaKey);