*/
function getCriteriaElemnent ($criteriaKey, $criteriaType = 'default');
+ /**
+ * Get criteria element or null if not found for 'choice' type
+ *
+ * @param $criteriaKey The requested criteria key
+ * @return $value Whether the value of the critera or null
+ */
+ function getCriteriaChoiceElemnent ($criteriaKey);
+
+ /**
+ * Get criteria element or null if not found for 'exclude' type
+ *
+ * @param $criteriaKey The requested criteria key
+ * @return $value Whether the value of the critera or null
+ */
+ function getCriteriaExcludeElemnent ($criteriaKey);
+
/**
* Checks whether given array entry matches
*
return $value;
}
+ /**
+ * Get criteria element or null if not found for 'choice' type
+ *
+ * @param $criteriaKey The requested criteria key
+ * @return $value Whether the value of the critera or null
+ */
+ public function getCriteriaChoiceElemnent ($criteriaKey) {
+ // Call inner method
+ return $this->getCriteriaElemnent($criteriaKey, 'choice');
+ }
+
+ /**
+ * Get criteria element or null if not found for 'exclude' type
+ *
+ * @param $criteriaKey The requested criteria key
+ * @return $value Whether the value of the critera or null
+ */
+ public function getCriteriaExcludeElemnent ($criteriaKey) {
+ // Call inner method
+ return $this->getCriteriaElemnent($criteriaKey, 'exclude');
+ }
+
/**
* Checks whether given array entry matches
*