Issue 1851: Fix PHP Warnings and notices in DB Classes

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-04-06 09:47:45 +00:00
parent 23e508e1b8
commit 1bc92129b0
31 changed files with 164 additions and 89 deletions

View file

@ -31,6 +31,14 @@
function getArgument(){
return $this->argument;
}
function getArguments()
{
if ($this->argument)
return array($this->argument);
else
return array();
}
}
?>
?>

View file

@ -33,8 +33,13 @@
return null;
}
function getArguments()
{
return array();
}
function isSubquery(){
return false;
}
}
?>
?>

View file

@ -16,5 +16,10 @@
function getArgument(){
return null;
}
function getArguments(){
// StarExpression has no arguments
return array();
}
}
?>
?>

View file

@ -52,7 +52,15 @@
function getArgument(){
return $this->argument;
}
function getArguments()
{
if ($this->argument)
return array($this->argument);
else
return array();
}
}
?>
?>