/** * @return \yii\db\ActiveQuery */ public function getResponsables() { return $this->hasMany(Responsable::className(), ['actividad_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getResponsables() { return $this->hasMany(Responsable::className(), ['nivel_instruccion_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getResponsable() { return $this->hasOne(Responsable::className(), ['id' => 'responsable_id']); }