20 if (count($error) != 0)
22 $this->summary[] =
"";
23 $this->summary[] =
"<b>File: $file</b>";
24 foreach($error as $line)
26 $this->summary[] = $line;
34 if ($dh = opendir($dir)) {
35 while ((
$file = readdir($dh)) !==
false) {
36 if (!eregi(
"^[\.]{1,2}",
$file)) {
38 if (is_dir($dir.$file)) {
42 if (eregi(
"(\.xml)$",
$file)) {
46 if (
$file !=
"index.xml" &&
$file !=
"indexMD.xml")
59 $this->dir = $directory.
'/';
64 $this->summary = array();
66 if(count($this->summary) == 0)
80 foreach ($this->summary as $line)
82 $summary .= $line.
"<br>";
ilObjSCORMValidator($directory)
static getJavaPath()
get full java path (dir + java command)
const ILIAS_ABSOLUTE_PATH
Validation of SCORM-XML Files.
static escapeShellArg($a_arg)