Last active
May 16, 2017 16:16
-
-
Save goldhat/4cf1301857fb117d190b9e6c3a37fe5b to your computer and use it in GitHub Desktop.
QuizMaster plugin - associate question with quiz programmatically
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 | |
/* | |
* $quiz QuizMaster_Model_Quiz | |
* $question QuizMaster_Model_Question | |
*/ | |
QuizMaster_Model_Quiz_Question::associate( $quiz->getId(), $question->getId() ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment