...
Table of Contents | ||
---|---|---|
|
Existing docs
Relevant code
...
openedx/XBlock
...
breakoutMode | wide |
---|---|
language | py |
...
...
core deserialization)
args
node: xml node
runtime: xblock runtime
keys: scopeids for new block, including usage id
notes
starts by constructing a new xblock instance from the class
keys are the only arg
child nodes become child blocks, or fields, if they belong to the right namespace
…
...
core serialization)
openedx/edx-platform
xmodule.xml_block:XmlMixin:parse_xml (builtin-block deserialization)
xmodule.xml_block.XmlMixin.add_xml_to_node (builtin-block serialization)