回答編集履歴

1

訂正

2017/03/19 23:19

投稿

popobot
popobot

スコア6586

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  $this->hasOne('Offices', ['bindingKey' => 'dal08','foreignKey' => 'id','joinType' => 'LEFT']);
6
6
 
7
- $this->hasOne('SubOffices', ['class' => 'Offices', 'bindingKey' => 'dal10','foreignKey' => 'id','joinType' => 'LEFT']);
7
+ $this->hasOne('SubOffices', ['className' => 'Offices', 'bindingKey' => 'dal10','foreignKey' => 'id','joinType' => 'LEFT']);
8
8
 
9
9
 
10
10