mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
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:
parent
abf5a1f5a3
commit
056afa28d6
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue