/**
  * Replace serialized values (callback)
  *
  * @param  array  $matches List of matches
  * @return string
  */
 public function replaceSerializedValues($matches)
 {
     // Unescape MySQL special characters
     $input = MysqlUtility::unescapeMysql($matches[1]);
     // Replace serialized values
     $input = MysqlUtility::replaceSerializedValues($this->getOldReplaceValues(), $this->getNewReplaceValues(), $input);
     // Prepare query values
     return "'" . mysql_real_escape_string($input, $this->getConnection()) . "'";
 }