Searched refs:xpathToEscape (Results 1 – 1 of 1) sorted by relevance
11 * @param string $xpathToEscape The xpath to be converted.14 public static function escapeQuotes($xpathToEscape) argument17 if (mb_strpos($xpathToEscape, "'") === false) {18 return sprintf("'%s'", $xpathToEscape);22 if (mb_strpos($xpathToEscape, '"') === false) {23 return sprintf('"%s"', $xpathToEscape);29 str_replace("'", "', \"'\" ,'", $xpathToEscape)