示例#1
0
文件: Add.php 项目: Auwibana/babesk
 public function execute($dataContainer)
 {
     parent::entryPoint($dataContainer);
     $bookId = filter_input(INPUT_POST, 'bookId');
     $entityType = filter_input(INPUT_POST, 'entityType');
     $entityId = filter_input(INPUT_POST, 'entityId');
     $schoolyearId = filter_input(INPUT_POST, 'schoolyearId');
     if ($bookId && $entityType && $entityId && in_array($entityType, $this->_supportedEntities)) {
         $this->assignmentsToEntityAdd($bookId, $entityType, $entityId, $schoolyearId);
     } else {
         dieHttp('Parameter fehlen / sind inkorrekt', 400);
     }
 }
示例#2
0
文件: View.php 项目: Auwibana/babesk
 protected function entryPoint($dataContainer)
 {
     parent::entryPoint($dataContainer);
     $this->moduleTemplatePathSet();
 }