]> git.mxchange.org Git - core.git/commitdiff
UpdateCriteria currently needs to overwrite addCriteria().
authorRoland Haeder <roland@mxchange.org>
Tue, 7 Apr 2015 14:46:04 +0000 (16:46 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 7 Apr 2015 14:46:04 +0000 (16:46 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/criteria/class_BaseCriteria.php

index 86e67857b732e7d4fe148a13b4a2d4556a26cf48..9898c1174c1b2f9d3a353117496bbda67d0c05ac 100644 (file)
@@ -160,7 +160,7 @@ class BaseCriteria extends BaseFrameworkSystem implements Criteria {
         * @param       $criteriaType   Type of this criteria, can be one of 'default' (default), 'choice' or 'exclude'
         * @return      void
         */
         * @param       $criteriaType   Type of this criteria, can be one of 'default' (default), 'choice' or 'exclude'
         * @return      void
         */
-       public final function addCriteria ($criteriaKey, $criteriaValue, $criteriaType = 'default') {
+       public function addCriteria ($criteriaKey, $criteriaValue, $criteriaType = 'default') {
                // Make sure no 'my-' or 'my_' passes this point
                assert((strpos($criteriaKey, 'my-') === FALSE) && (strpos($criteriaKey, 'my_') === FALSE) && (!is_bool($criteriaValue)));
 
                // Make sure no 'my-' or 'my_' passes this point
                assert((strpos($criteriaKey, 'my-') === FALSE) && (strpos($criteriaKey, 'my_') === FALSE) && (!is_bool($criteriaValue)));