質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -180,28 +180,26 @@
|
|
180
180
|
|
181
181
|
{
|
182
182
|
|
183
|
+
|
184
|
+
|
185
|
+
//初期表示で呼ばれるアクション
|
186
|
+
|
183
|
-
public function i
|
187
|
+
public function setTimeout()
|
184
188
|
|
185
189
|
{
|
186
190
|
|
191
|
+
|
192
|
+
|
187
|
-
}
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
188
|
-
|
197
|
+
//Ajaxで呼ばれるアクション
|
189
|
-
|
190
|
-
|
198
|
+
|
191
|
-
public function
|
199
|
+
public function blue()
|
192
200
|
|
193
201
|
{
|
194
202
|
|
195
|
-
|
196
|
-
|
197
|
-
}
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
public function blue()
|
202
|
-
|
203
|
-
{
|
204
|
-
|
205
203
|
$this->autoRendor =false;
|
206
204
|
|
207
205
|
|
1
PHPコードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -166,22 +166,52 @@
|
|
166
166
|
|
167
167
|
```Php
|
168
168
|
|
169
|
-
|
170
|
-
|
171
|
-
|
169
|
+
<?php
|
170
|
+
|
172
|
-
|
171
|
+
namespace App\Controller;
|
172
|
+
|
173
|
+
|
174
|
+
|
173
|
-
|
175
|
+
use App\Controller\AppController;
|
176
|
+
|
177
|
+
|
178
|
+
|
174
|
-
|
179
|
+
class SampleController extends AppController
|
180
|
+
|
181
|
+
{
|
182
|
+
|
175
|
-
public function
|
183
|
+
public function index()
|
176
184
|
|
177
185
|
{
|
178
186
|
|
187
|
+
}
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
public function setTimeout()
|
192
|
+
|
193
|
+
{
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
public function blue()
|
202
|
+
|
203
|
+
{
|
204
|
+
|
179
205
|
$this->autoRendor =false;
|
180
206
|
|
181
207
|
|
182
208
|
|
183
209
|
}
|
184
210
|
|
211
|
+
}
|
212
|
+
|
213
|
+
|
214
|
+
|
185
215
|
```
|
186
216
|
|
187
217
|
|