[svn r20844] FS#4226 - Replacing a call to a deprecated method. Te actual method is get_mastery_score(), class learnpathItem.

skala
Ivan Tcholakov 17 years ago
parent 5262382539
commit 4fd8ccf353
  1. 2
      main/newscorm/learnpath.class.php

@ -8236,7 +8236,7 @@ class learnpath {
//give a child element <adlcp:datafromlms> to the <item> element - not yet supported //give a child element <adlcp:datafromlms> to the <item> element - not yet supported
//$xmldoc->createElement('adlcp:datafromlms',''); //$xmldoc->createElement('adlcp:datafromlms','');
//give a child element <adlcp:masteryscore> to the <item> element //give a child element <adlcp:masteryscore> to the <item> element
$my_masteryscore = $xmldoc->createElement('adlcp:masteryscore',$item->get_masteryscore()); $my_masteryscore = $xmldoc->createElement('adlcp:masteryscore',$item->get_mastery_score());
$my_item->appendChild($my_masteryscore); $my_item->appendChild($my_masteryscore);

Loading…
Cancel
Save