質問編集履歴
3
変数名間違えの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
// テーブル情報をすべて取得
|
36
36
|
|
37
|
-
$
|
37
|
+
$message_log = $this->find('all');
|
38
38
|
|
39
39
|
|
40
40
|
|
2
混在文字の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
|
15
15
|
```PHP
|
16
16
|
|
17
|
+
|
18
|
+
|
17
|
-
//
|
19
|
+
// テーブル情報
|
18
20
|
|
19
21
|
protected static $_table_name = 'test_tab';
|
20
22
|
|
1
テーブル情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,17 @@
|
|
14
14
|
|
15
15
|
```PHP
|
16
16
|
|
17
|
-
|
17
|
+
// chatテーブル情報
|
18
|
+
|
19
|
+
protected static $_table_name = 'test_tab';
|
20
|
+
|
21
|
+
protected static $_properties = [
|
22
|
+
|
23
|
+
'id',
|
24
|
+
|
25
|
+
'message'
|
26
|
+
|
27
|
+
];
|
18
28
|
|
19
29
|
public function message_log()
|
20
30
|
|