|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
SCORM 13 Metadata importer. More...
Inheritance diagram for ilSCORM13MDImporter:
Collaboration diagram for ilSCORM13MDImporter:Public Member Functions | |
| __construct ($a_manifest_dom, $a_obj_id) | |
| Constructor. More... | |
| setTitle ($a_val) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setDescription ($a_val) | |
| Set description. More... | |
| getDescription () | |
| Get description. More... | |
| import () | |
| Import. More... | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element More... | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handler for end of element More... | |
| in ($a_name) | |
Public Member Functions inherited from ilMDXMLCopier | |
| __construct ($content, $a_rbac_id, $a_obj_id, $a_obj_type) | |
| setHandlers ($a_xml_parser) | |
| set event handlers More... | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element More... | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handler for end of element More... | |
| handlerCharacterData ($a_xml_parser, $a_data) | |
| handler for character data More... | |
| __setFilter () | |
| __inFilter ($a_tag_name) | |
Public Member Functions inherited from ilMDSaxParser | |
| __construct ($a_xml_file='') | |
| Constructor. More... | |
| enableMDParsing ($a_status) | |
| getMDParsingStatus () | |
| setMDObject (&$md) | |
| & | getMDObject () |
| inMetaData () | |
| setHandlers ($a_xml_parser) | |
| set event handlers More... | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element More... | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handler for end of element More... | |
| handlerCharacterData ($a_xml_parser, $a_data) | |
| handler for character data More... | |
| __getCharacterData () | |
| __pushParent (&$md_obj) | |
| & | __popParent () |
| & | __getParent () |
| __construct ($a_xml_file='') | |
| Constructor. More... | |
| setMDObject (&$md) | |
| inMetaData () | |
| handlerBeginTag ($a_xml_parser, $a_name, $a_attribs) | |
| handler for begin of element More... | |
| handlerEndTag ($a_xml_parser, $a_name) | |
| handler for end of element More... | |
| handlerCharacterData ($a_xml_parser, $a_data) | |
| handler for character data More... | |
| __getCharacterData () | |
| __pushParent (&$md_obj) | |
| & | __popParent () |
| & | __getParent () |
Public Member Functions inherited from ilSaxParser | |
| __construct ($a_xml_file='', $throwException=false) | |
| Constructor setup ILIAS global object @access public. More... | |
| setXMLContent ($a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| create parser More... | |
| setOptions ($a_xml_parser) | |
| set parser options More... | |
| setHandlers ($a_xml_parser) | |
| set event handler should be overwritten by inherited class @access private More... | |
| openXMLFile () | |
| open xml file More... | |
| parse ($a_xml_parser, $a_fp=null) | |
| parse xml file More... | |
| freeParser ($a_xml_parser) | |
| free xml parser handle More... | |
| setThrowException ($throwException) | |
| set error handling More... | |
Public Member Functions inherited from PEAR | |
| __construct ($error_class=null) | |
| Constructor. More... | |
| _PEAR () | |
| Destructor (the emulated type of...). More... | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. More... | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. More... | |
| expectError ($code=' *') | |
| This method is used to tell which errors you expect to get. More... | |
| popExpect () | |
| This method pops one element off the expected error codes stack. More... | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. More... | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. More... | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More... | |
| & | throwError ($message=null, $code=null, $userinfo=null) |
| Simpler form of raiseError with fewer options. More... | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. More... | |
| popErrorHandling () | |
| Pop the last error handler used. More... | |
| loadExtension ($ext) | |
| OS independant PHP extension load. More... | |
Protected Attributes | |
| $manifest_dom | |
| $metadata_found = false | |
| $path = array() | |
| $title = "" | |
| $description = "" | |
Protected Attributes inherited from ilMDSaxParser | |
| $meta_log | |
Additional Inherited Members | |
Static Public Member Functions inherited from PEAR | |
| static & | getStaticProperty ($class, $var) |
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More... | |
| static | setErrorHandling ($mode=null, $options=null) |
| Sets how errors generated by this object should be handled. More... | |
Data Fields inherited from ilMDXMLCopier | |
| $filter = array() | |
Data Fields inherited from ilMDSaxParser | |
| $md_in_md = false | |
| $md_chr_data = '' | |
| $md_cur_el = null | |
| $md_parsing_enabled = null | |
| $md = null | |
| $md_gen | |
Data Fields inherited from ilSaxParser | |
| $input_type = null | |
| $xml_content = '' | |
| $ilias | |
| $lng | |
| $xml_file | |
| $throwException = false | |
Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_default_error_handler = '' | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
Protected Member Functions inherited from ilSaxParser | |
| handleError ($message, $code) | |
| use given error handler to handle error message or internal ilias error message handle More... | |
SCORM 13 Metadata importer.
Definition at line 14 of file class.ilSCORM13MDImporter.php.
| ilSCORM13MDImporter::__construct | ( | $a_manifest_dom, | |
| $a_obj_id | |||
| ) |
Constructor.
return
Reimplemented from ilSaxParser.
Definition at line 28 of file class.ilSCORM13MDImporter.php.
References $path, and ilObject\_lookupType().
Here is the call graph for this function:| ilSCORM13MDImporter::getDescription | ( | ) |
Get description.
Definition at line 80 of file class.ilSCORM13MDImporter.php.
References $description.
Referenced by handlerEndTag().
Here is the caller graph for this function:| ilSCORM13MDImporter::getTitle | ( | ) |
Get title.
Definition at line 60 of file class.ilSCORM13MDImporter.php.
References $title.
Referenced by handlerEndTag().
Here is the caller graph for this function:| ilSCORM13MDImporter::handlerBeginTag | ( | $a_xml_parser, | |
| $a_name, | |||
| $a_attribs | |||
| ) |
handler for begin of element
Reimplemented from ilMDXMLCopier.
Definition at line 103 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\__getParent(), ilMDSaxParser\__pushParent(), ilMDSaxParser\getMDParsingStatus(), and in().
Here is the call graph for this function:| ilSCORM13MDImporter::handlerEndTag | ( | $a_xml_parser, | |
| $a_name | |||
| ) |
handler for end of element
Reimplemented from ilMDXMLCopier.
Definition at line 430 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\__getCharacterData(), ilMDSaxParser\__getParent(), ilMDSaxParser\__popParent(), getDescription(), ilMDSaxParser\getMDParsingStatus(), getTitle(), in(), setDescription(), and setTitle().
Here is the call graph for this function:| ilSCORM13MDImporter::import | ( | ) |
Import.
return
Definition at line 91 of file class.ilSCORM13MDImporter.php.
References ilMDSaxParser\getMDObject(), and ilSaxParser\startParsing().
Here is the call graph for this function:| ilSCORM13MDImporter::in | ( | $a_name | ) |
return
Definition at line 786 of file class.ilSCORM13MDImporter.php.
Referenced by handlerBeginTag(), and handlerEndTag().
Here is the caller graph for this function:| ilSCORM13MDImporter::setDescription | ( | $a_val | ) |
Set description.
| string | $a_val | description |
Definition at line 70 of file class.ilSCORM13MDImporter.php.
Referenced by handlerEndTag().
Here is the caller graph for this function:| ilSCORM13MDImporter::setTitle | ( | $a_val | ) |
Set title.
| string | $a_val | title |
Definition at line 50 of file class.ilSCORM13MDImporter.php.
Referenced by handlerEndTag().
Here is the caller graph for this function:
|
protected |
Definition at line 20 of file class.ilSCORM13MDImporter.php.
Referenced by getDescription().
|
protected |
Definition at line 16 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 17 of file class.ilSCORM13MDImporter.php.
|
protected |
Definition at line 18 of file class.ilSCORM13MDImporter.php.
Referenced by __construct().
|
protected |
Definition at line 19 of file class.ilSCORM13MDImporter.php.
Referenced by getTitle().