コード例 #1
0
ファイル: Task.php プロジェクト: mrhat24/site-for-pm
 /**
  * @get task type
  */
 public function getTaskType()
 {
     return $this->hasOne(TaskType::className(), ['id' => 'type_id']);
 }