<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>.hmmessage P {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style>
<meta content="MSHTML 6.00.6000.17095" name="GENERATOR">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body class="hmmessage" ocsi="x">
<div style="FONT-SIZE: 13px; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">
<div>check the manual</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">cmi.core.suspend_data? //but I think you're right cmi.suspend_data?</font></div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma">What happens in the test suite?</font></div>
<div dir="ltr"><font face="Tahoma" color="#000000" size="2"></font> </div>
<div id="divRpF367649" style="DIRECTION: ltr">
<hr tabindex="-1">
<font face="Tahoma" color="#000000" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 31 March 2011 12:43<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Moodle and cmi calls<br>
</font><br>
</div>
<div></div>
<div><br>
Any reason for this to not work in Moodle?<br>
<br>
<span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">_level0.setValue('cmi.suspend_data', 'some text');<br>
and <br>
_level0.getValue('cmi.suspend_data');</span><br>
<br>
<span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">getValue returns null,
</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">setValue seems to do nothing.<br>
<br>
No API adapter errors come up.<br>
<br>
Dave<br>
</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"></span></div>
</div>
</body>
</html>