Issue 62: xml Query Supported Not Like

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9621 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-10-12 18:54:31 +00:00
parent abae1ca3b0
commit 84e7cb3e2f
7 changed files with 161 additions and 0 deletions

View file

@ -31,6 +31,15 @@
case 'like' :
$this->value = '%'.$value.'%';
break;
case 'notlike' :
$this->value = '%'.$value.'%';
break;
case 'notlike_prefix' :
$this->value = $value.'%';
break;
case 'notlike_tail' :
$this->value = '%'.$value;
break;
case 'in':
if(!is_array($value)) $this->value = array($value);
break;