Lack of interest add REGEXP to finder buildCondition function

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Paul R

Active member
in xf2 buildCondition function i can't use REGEXP.
Hopefully it will be updated in the next release. :p;)

PHP:
switch ($operator)
        {
            case '=':
            case '<>':
            case '!=':
            case '>':
            case '>=':
            case '<':
            case '<=':
            case 'LIKE':
            case 'NOT LIKE':
            case 'BETWEEN':
                break;

            default:
                throw new \InvalidArgumentException("Operator $operator is not valid");
        }
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Worth mention that you can still do whatever conditions you want with finder expressions ($finder->expression(...)).
 
Back
Top Bottom