예제 #1
0
 public function ACT_source()
 {
     $record_id = $this->path_option->getPathSection(2);
     $record = new MDL_Record($record_id);
     if (!$record->canViewSource()) {
         $this->deny();
     }
     $this->view->record = $record;
     $this->view->display('record/source.php');
 }