38 public function __call(
string $a_method, array $a_args)
40 if (in_array($a_method, array(
"validate",
"loadXML"))) {
41 set_error_handler(array($this,
"handleError"));
42 $rv = call_user_func_array(array($this->doc, $a_method), $a_args);
43 restore_error_handler();
46 return call_user_func_array(array($this->doc, $a_method), $a_args);
58 string $a_file = null,
60 array $a_context = null
62 $pos = strpos($a_string,
"]:");
63 $err = trim(substr($a_string, $pos + 2));
64 $this->errors[] = $err;
handleError(int $a_no, string $a_string, string $a_file=null, int $a_line=null, array $a_context=null)
__call(string $a_method, array $a_args)
__construct()
Constructor.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...