This commit is contained in:
Gogs committed 2021-06-18 16:32:17 +02:00
1 parent b5a3a2a547
commit d0df0f6a44
33 files changed
+622 -3

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
<?php namespace GermanAirlinesVa\Schooling\Controllers;
use Backend\Classes\Controller;
use BackendMenu;
class ExamTyperatingAnswer extends Controller
{
public $implement = ['Backend\Behaviors\ListController', 'Backend\Behaviors\FormController'];
public $listConfig = 'config_list.yaml';
public $formConfig = 'config_form.yaml';
public function __construct()
{
parent::__construct();
}
public function listExtendQuery($query)
{
$query->leftJoin('exam_questions', 'exam_questions.id', 'exam_answers.exam_question_id');
$query->where('exam_questions.typerating_id', '<>', null);
}
}