Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getActivities()
 {
     return $this->hasMany(Activities::className(), ['idProjects' => 'idProjects']);
 }