]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/criteria/class_Criteria.php
Added 2 more methods
[core.git] / inc / classes / interfaces / criteria / class_Criteria.php
index 86d9b36fd03ecb3179c4209d104f22dc7a735d16..737d5bc7a4af231f2cc07f68e79c88a93a48a6c0 100644 (file)
@@ -109,6 +109,22 @@ interface Criteria extends FrameworkInterface {
         */
        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
         *