예제 #1
0
파일: Project.php 프로젝트: rhamlet1/Hazid
 /**
  * Gets the activities associated with this project.
  * @return array
  */
 public function getActivities()
 {
     return $this->hasMany(ProjectActivity::className(), ['projectID' => 'projectID'])->inverseOf('project');
 }