You are here

public static function QueryPathEntities::replaceAllEntities in QueryPath 7.2

Same name and namespace in other branches
  1. 6 QueryPath/QueryPath.php \QueryPathEntities::replaceAllEntities()
  2. 7.3 QueryPath/QueryPath.php \QueryPathEntities::replaceAllEntities()
4 calls to QueryPathEntities::replaceAllEntities()
QueryPath::html in QueryPath/QueryPath.php
QueryPath::parseXMLString in QueryPath/QueryPath.php
QueryPath::prepareInsert in QueryPath/QueryPath.php
Prepare an item for insertion into a DOM.
QueryPath::xml in QueryPath/QueryPath.php

File

QueryPath/QueryPath.php, line 2069

Class

QueryPathEntities

Code

public static function replaceAllEntities($string) {
  return preg_replace_callback(self::$regex, 'QueryPathEntities::doReplacement', $string);
}