ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (\DOMDocument $a_manifest_dom, int $a_obj_id) | |
setTitle (string $a_val) | |
getTitle () | |
setDescription (string $a_val) | |
getDescription () | |
import () | |
handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
handler for begin of element More... | |
handlerEndTag ($a_xml_parser, string $a_name) | |
handler for end of element More... | |
in (string $a_name) | |
![]() | |
__construct ($content, $a_rbac_id, $a_obj_id, $a_obj_type) | |
startParsing () | |
handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
handlerEndTag ($a_xml_parser, string $a_name) | |
handlerCharacterData ($a_xml_parser, string $a_data) | |
__setFilter () | |
__inFilter (string $a_tag_name) | |
![]() | |
__construct (?string $a_xml_file='') | |
enableMDParsing (bool $a_status) | |
getMDParsingStatus () | |
setMDObject (ilMD $md) | |
getMDObject () | |
inMetaData () | |
setHandlers ($a_xml_parser) | |
Set event handlers. More... | |
handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
handlerEndTag ($a_xml_parser, string $a_name) | |
handlerCharacterData ($a_xml_parser, string $a_data) | |
__getCharacterData () | |
__pushParent (object $md_obj) | |
__popParent () | |
__getParent () | |
![]() | |
__construct (?string $path_to_file='', ?bool $throw_exception=false) | |
setXMLContent (string $a_xml_content) | |
getXMLContent () | |
getInputType () | |
startParsing () | |
stores xml data in array More... | |
createParser () | |
setHandlers ($a_xml_parser) | |
parse ($a_xml_parser, $a_fp=null) | |
Additional Inherited Members | |
![]() | |
string | $xml_file |
bool | $throw_exception = false |
![]() | |
trimAndStripAttribs (array $attribs) | |
trimAndStrip (string $input) | |
![]() | |
openXMLFile () | |
handleError (string $message) | |
setThrowException (bool $throw_exception) | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning SCORM 13 Metadata importer
Definition at line 26 of file class.ilSCORM13MDImporter.php.
ilSCORM13MDImporter::__construct | ( | \DOMDocument | $a_manifest_dom, |
int | $a_obj_id | ||
) |
Definition at line 34 of file class.ilSCORM13MDImporter.php.
References $i, ILIAS\GlobalScreen\Provider\__construct(), and ilObject\_lookupType().
ilSCORM13MDImporter::getDescription | ( | ) |
Definition at line 64 of file class.ilSCORM13MDImporter.php.
References ilUtil\stripSlashes().
Referenced by handlerEndTag().
ilSCORM13MDImporter::getTitle | ( | ) |
Definition at line 54 of file class.ilSCORM13MDImporter.php.
References ilUtil\stripSlashes().
Referenced by handlerEndTag().
ilSCORM13MDImporter::handlerBeginTag | ( | $a_xml_parser, | |
string | $a_name, | ||
array | $a_attribs | ||
) |
handler for begin of element
XMLParser | resource | $a_xml_parser | reference to the xml parser |
Definition at line 83 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\__getParent(), ilMDSaxParser\__pushParent(), ilMDSaxParser\getMDParsingStatus(), and in().
ilSCORM13MDImporter::handlerEndTag | ( | $a_xml_parser, | |
string | $a_name | ||
) |
handler for end of element
XMLParser | resource | $a_xml_parser | reference to the xml parser |
Definition at line 393 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\__getCharacterData(), ilMDSaxParser\__getParent(), ilMDSaxParser\__popParent(), getDescription(), ilMDSaxParser\getMDParsingStatus(), getTitle(), in(), setDescription(), and setTitle().
ilSCORM13MDImporter::import | ( | ) |
Definition at line 69 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\getMDObject(), and ilMDXMLCopier\startParsing().
ilSCORM13MDImporter::in | ( | string | $a_name | ) |
Definition at line 719 of file class.ilSCORM13MDImporter.php.
Referenced by handlerBeginTag(), and handlerEndTag().
ilSCORM13MDImporter::setDescription | ( | string | $a_val | ) |
Definition at line 59 of file class.ilSCORM13MDImporter.php.
References ilUtil\stripSlashes().
Referenced by handlerEndTag().
ilSCORM13MDImporter::setTitle | ( | string | $a_val | ) |
Definition at line 49 of file class.ilSCORM13MDImporter.php.
References ilUtil\stripSlashes().
Referenced by handlerEndTag().
|
protected |
Definition at line 32 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 28 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 29 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 30 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 31 of file class.ilSCORM13MDImporter.php.