コード例 #1
0
 /**
  * execute command
  */
 public function &executeCommand()
 {
     $cmd = $this->ctrl->getCmd();
     $next_class = $this->ctrl->getNextClass($this);
     $this->ctrl->saveParameter($this, "sequence");
     $this->ctrl->saveParameter($this, "active_id");
     $cmd = $this->getCommand($cmd);
     switch ($next_class) {
         case 'iltestpassdetailsoverviewtablegui':
             require_once 'Modules/Test/classes/tables/class.ilTestPassDetailsOverviewTableGUI.php';
             $tableGUI = new ilTestPassDetailsOverviewTableGUI($this->ctrl, $this, 'outUserPassDetails');
             $tableGUI->setIsPdfGenerationRequest($this->isPdfDeliveryRequest());
             $tableGUI->initFilter();
             $this->ctrl->forwardCommand($tableGUI);
             break;
         default:
             $ret =& $this->{$cmd}();
             break;
     }
     return $ret;
 }