/** * Gets value in quotes from $parseString. * * @param string $parseString String from which to find value in quotes. Notice that $parseString is passed by reference and is shortened by the output of this function. * @param string $quote The quote used; input either " or ' * @return string The value, passed through parseStripslashes()! */ protected function getValueInQuotes(&$parseString, $quote) { switch ((string) $this->databaseConnection->handlerCfg[$this->databaseConnection->lastHandlerKey]['type']) { case 'adodb': if ($this->databaseConnection->runningADOdbDriver('mssql')) { $value = $this->getValueInQuotesMssql($parseString, $quote); } else { $value = parent::getValueInQuotes($parseString, $quote); } break; default: $value = parent::getValueInQuotes($parseString, $quote); } return $value; }