This commit is contained in:
Gogs
2021-06-18 16:32:17 +02:00
parent b5a3a2a547
commit d0df0f6a44
33 changed files with 622 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php namespace GermanAirlinesVa\Schooling\Controllers;
use Backend\Classes\Controller;
use BackendMenu;
class ExamMemberRankAnswer 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.member_rank_id', '<>', null);
}
}