This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "UK & Ireland", | |
"channels": [ | |
"Yay1" | |
] | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface BranchingAssessmentEngine | |
{ | |
/** | |
* @param string $assessmentDefinition JSON object defining the assessment | |
*/ | |
public function __construct($assessmentDefinition); | |
/** | |
* Flags a question as being completed, with either a correct or incorrect response | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Learnosity\AuthoringBundle\Entity; | |
/** | |
* only used for Sheet and WidgetInstance | |
* | |
* Class AbstractEntitySW | |
* @package Learnosity\AuthoringBundle\Entity | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// you'll first need to work out which item the user is viewing, and retrieve its reference | |
var itemReference = 'ABC'; | |
// itemsApp is the object returned by your call to LearnosityItems.init() | |
itemsApp.getItems(function (items) { | |
var responseIds = items[itemReference].response_ids; | |
for (var i = 0; i < responseIds.length; i++) { | |
itemsApp.question(responseIds[i]).validate(); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.GP5VWI-DKP').each(function(e, item){if(item.innerText.match(/"consumer_id":"0032"/)){ $(':checkbox', item).click() }}); | |
$('.GP5VWI-DLO').each(function(e, item){if(item.innerText.match(/"consumer_id":"0032"/)){ $(':checkbox', item).click() }}); |