[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/question/ -> move_form.php (source)

   1  <?php  // $Id$
   2  
   3  require_once($CFG->libdir.'/formslib.php');
   4  
   5  class question_move_form extends moodleform {
   6  
   7      function definition() {
   8          $mform    =& $this->_form;
   9  
  10          $currentcat   = $this->_customdata['currentcat'];
  11          $contexts   = $this->_customdata['contexts'];
  12  //--------------------------------------------------------------------------------
  13  
  14          $mform->addElement('questioncategory', 'category', get_string('category','quiz'), compact('contexts', 'currentcat'));
  15  
  16  
  17  //--------------------------------------------------------------------------------
  18          $this->add_action_buttons(true, get_string('categorymoveto', 'quiz'));
  19  //--------------------------------------------------------------------------------
  20          $mform->addElement('hidden', 'delete', $currentcat);
  21      }
  22  }
  23  ?>


Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7