質問編集履歴
2
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -89,15 +89,14 @@
|
|
89
89
|
|
90
90
|
class SampleController extends AppController
|
91
91
|
{
|
92
|
-
public function index()
|
93
|
-
{
|
94
|
-
}
|
95
92
|
|
93
|
+
//初期表示で呼ばれるアクション
|
96
94
|
public function setTimeout()
|
97
95
|
{
|
98
96
|
|
99
97
|
}
|
100
98
|
|
99
|
+
//Ajaxで呼ばれるアクション
|
101
100
|
public function blue()
|
102
101
|
{
|
103
102
|
$this->autoRendor =false;
|
1
PHPコードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -82,14 +82,29 @@
|
|
82
82
|
|
83
83
|
SampleController
|
84
84
|
```Php
|
85
|
+
<?php
|
86
|
+
namespace App\Controller;
|
85
87
|
|
86
|
-
|
88
|
+
use App\Controller\AppController;
|
87
89
|
|
90
|
+
class SampleController extends AppController
|
91
|
+
{
|
88
|
-
public function
|
92
|
+
public function index()
|
89
93
|
{
|
94
|
+
}
|
95
|
+
|
96
|
+
public function setTimeout()
|
97
|
+
{
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
public function blue()
|
102
|
+
{
|
90
103
|
$this->autoRendor =false;
|
91
104
|
|
92
105
|
}
|
106
|
+
}
|
107
|
+
|
93
108
|
```
|
94
109
|
|
95
110
|
もしわかる方がいればお願い致します。
|