Ejemplo n.º 1
0
 public function __construct($guid = null, $start_play = false)
 {
     parent::__construct($guid);
     if ($start_play) {
         $this->is_playing = true;
         $this->start_playing();
     }
     // set default form attributes
     $this->form_attributes = array('title' => array(), 'description' => array(), 'container_guid' => array(), 'access_id' => array(), 'required_correct' => array(), 'max_quizzes' => array(), 'timer' => array(), 're_attempt' => array(), 'negative_marking' => array(), 'terms' => array(), 'tags' => array(), 'comments_on' => array());
 }
Ejemplo n.º 2
0
 public function __construct($guid = null)
 {
     parent::__construct($guid);
     $this->form_attributes = array('title' => array(), 'description' => array(), 'container_guid' => array(), 'access_id' => array(), 'solution' => array(), 'tags' => array(), 'qtype' => array(), 'correct_option' => array());
 }