true, 'targetClass' => StoredDisciplineReferenceType::class, 'targetAttribute' => ['child_subject_ref_id' => 'id'], 'except' => [static::$SCENARIO_WITHOUT_EXISTS_CHECK] ], [ ['cget_entrance_test_id'], 'exist', 'skipOnError' => true, 'targetClass' => CgetEntranceTest::class, 'targetAttribute' => ['cget_entrance_test_id' => 'id'], 'except' => [static::$SCENARIO_WITHOUT_EXISTS_CHECK] ], ]; } public function attributeLabels() { return [ 'id' => 'ID', 'cget_entrance_test_id' => 'StoredCget Entrance Test ID', 'child_subject_index' => 'Child Subject Index', 'child_subject_ref_id' => 'Child Subject Ref ID', 'updated_at' => 'Updated At', 'created_at' => 'Created At', ]; } public function getCgetEntranceTest() { return $this->hasOne(CgetEntranceTest::class, ['id' => 'cget_entrance_test_id']); } public function getChildSubjectRef() { return $this->hasOne(StoredDisciplineReferenceType::class, ['id' => 'child_subject_ref_id']); } public function getSubjectRef() { return $this->hasOne(StoredDisciplineReferenceType::class, ['id' => 'child_subject_ref_id']); } }