Updates to Condition - refactored some methods to save calculated values in private properties, so that the parsing won't execute multiple times.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9064 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-09-06 13:28:32 +00:00
parent 385d704388
commit ec0bad3f64
5 changed files with 114 additions and 97 deletions

View file

@ -133,7 +133,7 @@
$args->module = \'opage\';';
$expected = 'SELECT *
FROM "xe_modules" as "modules"
WHERE "module" = \'opage\' and ("browser_title" like \'%yuhuu%\')
WHERE "module" = \'opage\' and ("title" like \'%yuhuu%\')
ORDER BY "module_srl" desc
LIMIT 0, 20';
$this->_test($xml_file, $argsString, $expected);