function RunQueryProc($procname, $params = '') { App::LoadDataClass("MySQLDatabase.php"); $mydb = new MySQLDatabase($this->ConnString); $mydb->Open(); $result = $mydb->RunQueryProc($procname, $params); $mydb->Close(); if ($mydb->getError()) { $this->setError($mydb->getError()); } return $result; }