mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
add some unit tests for CUBRID
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d7cf3cb731
commit
e41c45433e
10 changed files with 814 additions and 9 deletions
|
|
@ -29,14 +29,14 @@
|
|||
}
|
||||
|
||||
// singleton
|
||||
function &getDBParser(){
|
||||
/* function &getDBParser(){
|
||||
static $dbParser;
|
||||
if(!$dbParser){
|
||||
$oDB = &DB::getInstance();
|
||||
$dbParser = $oDB->getParser();
|
||||
}
|
||||
return $dbParser;
|
||||
}
|
||||
}*/
|
||||
|
||||
function getXmlFileContent($xml_file){
|
||||
$buff = FileHandler::readFile($xml_file);
|
||||
|
|
@ -45,7 +45,11 @@
|
|||
unset($buff);
|
||||
return $xml_obj;
|
||||
}
|
||||
|
||||
|
||||
function &getDBParser(){
|
||||
if(!$this->dbParser)
|
||||
$this->dbParser = new DBParser('"');
|
||||
return $this->dbParser;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue