ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
inc.xml5compliance.php File Reference

Go to the source code of this file.

Data Structures

class  php4DOMDocument
 

Functions

 staticxmlerror (int $errno, string $errstr, ?string $errfile=null, ?int $errline=null, ?array $errcontext=null, bool $ret=false)
 
 domxml_open_mem ($str, $mode=0, &$error=null)
 

Variables

const DOMXML_LOAD_PARSING 0
 

Function Documentation

◆ domxml_open_mem()

domxml_open_mem (   $str,
  $mode = 0,
$error = null 
)

Definition at line 40 of file inc.xml5compliance.php.

Referenced by ilSoapUserAdministration\importUsers().

41 {
42  if (!is_int($mode)) {
43  $mode = 0;
44  }
45  $doc = new php4DOMDocument($str, false, $mode);
46  if (!$doc->success) {
47  $error = $doc->error;
48  }
49 
50  return $doc;
51 }
+ Here is the caller graph for this function:

◆ staticxmlerror()

staticxmlerror ( int  $errno,
string  $errstr,
?string  $errfile = null,
?int  $errline = null,
?array  $errcontext = null,
bool  $ret = false 
)

Definition at line 23 of file inc.xml5compliance.php.

Referenced by php4DOMDocument\__construct().

24 {
25  static $errs = array();
26 
27  $tag = 'DOMDocument::validate(): ';
28  $errs[] = str_replace($tag, '', $errstr);
29 
30  if ($ret === true) {
31  return $errs;
32  }
33 }
+ Here is the caller graph for this function:

Variable Documentation

◆ DOMXML_LOAD_PARSING

const DOMXML_LOAD_PARSING 0

Definition at line 35 of file inc.xml5compliance.php.

Referenced by ilSoapUserAdministration\importUsers().