示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPlans()
 {
     return $this->hasMany(Plan::className(), ['idFacultad' => 'idFacultad']);
 }
示例#2
0
 public function getIdPlan0()
 {
     return $this->hasOne(Plan::className(), ['idPlan' => 'idPlan']);
 }