Fix - removed static class property from QueryArgument class (for PHP 4 compatibility).

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8701 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-07-29 08:15:36 +00:00
parent abf5a1f5a3
commit 056afa28d6

View file

@ -7,17 +7,17 @@
var $column_name;
var $operation;
static $number_of_arguments = 0;
function QueryArgument($tag){
static $number_of_arguments = 0;
$this->argument_name = $tag->attrs->var;
if(!$this->argument_name) $this->argument_name = $tag->attrs->name;
if(!$this->argument_name) $this->argument_name = str_replace('.', '_',$tag->attrs->column);
$this->variable_name = $this->argument_name;
self::$number_of_arguments++;
$this->argument_name .= self::$number_of_arguments;
$number_of_arguments++;
$this->argument_name .= $number_of_arguments;
$name = $tag->attrs->name;
if(!$name) $name = $tag->attrs->column;