[Xerte] Re: Moodle and cmi calls
Tom Reijnders
reijnders at tor.nl
Thu Mar 31 16:19:10 BST 2011
Sorry you're right. I confused it with cmi.exit_status='suspend'
The only limitation for suspend_data I know of, is that according to
SCORM 1.2 standards, the string you pass to suspend_data should not be
longer than 4096 characters.
Tom
Op 31-3-2011 17:05, Dave Burnett schreef:
> I thought suspend_data was just a user defined character limited string?
>
> This worked just fine in another LMS.
> ?
>
>
> ------------------------------------------------------------------------
> Date: Thu, 31 Mar 2011 14:16:55 +0200
> From: reijnders at tor.nl
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Re: Moodle and cmi calls
>
> I assume you know that the 'some text' in your example is dictionary
> controlled, and only a couple of values are allowed? (Don't know them
> by heart)
>
> Op 31-3-2011 13:43, Dave Burnett schreef:
>
>
> Any reason for this to not work in Moodle?
>
> _level0.setValue('cmi.suspend_data', 'some text');
> and
> _level0.getValue('cmi.suspend_data');
>
> getValue returns null, setValue seems to do nothing.
>
> No API adapter errors come up.
>
> Dave
>
> This message and any attachment are intended solely for the
> addressee and may contain confidential information. If you have
> received this message in error, please send it back to me, and
> immediately delete it. Please do not use, copy or disclose the
> information contained in this message or in any attachment. Any
> views or opinions expressed by the author of this email do not
> necessarily reflect the views of the University of Nottingham.
> This message has been checked for viruses but the contents of an
> attachment may still contain software viruses which could damage
> your computer system: you are advised to perform your own checks.
> Email communications with the University of Nottingham may be
> monitored as permitted by UK legislation.
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
> _______________________________________________ Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and
> any attachment are intended solely for the addressee and may contain
> confidential information. If you have received this message in error,
> please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in
> any attachment. Any views or opinions expressed by the author of this
> email do not necessarily reflect the views of the University of
> Nottingham. This message has been checked for viruses but the contents
> of an attachment may still contain software viruses which could damage
> your computer system: you are advised to perform your own checks.
> Email communications with the University of Nottingham may be
> monitored as permitted by UK legislation.
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110331/4bd3b78c/attachment.html>
More information about the Xerte
mailing list