-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLinkFrameSettingFixture.php
More file actions
59 lines (55 loc) · 3.03 KB
/
LinkFrameSettingFixture.php
File metadata and controls
59 lines (55 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* LinkFrameSettingFixture
*
* @author Jun Nishikawa <topaz2@m0n0m0n0.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
*/
/**
* Summary for LinkFrameSettingFixture
*/
class LinkFrameSettingFixture extends CakeTestFixture {
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary', 'comment' => 'ID | | | '),
'frame_key' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => 'frame key | フレームKey | frames.key | ', 'charset' => 'utf8'),
'display_type' => array('type' => 'boolean', 'null' => false, 'default' => '0', 'comment' => 'display type, 1: dropdown type, 2: list type (no explanation), 3: list type (with explanation) | 表示方法種別 1: ドロップダウン型、2:リスト型(説明なし)、3:リスト型(説明あり) | | '),
'open_new_tab' => array('type' => 'boolean', 'null' => false, 'default' => '1', 'comment' => 'open new tab, 1: new tab or 0: same window | リンクの開き方 0:同じウィンドウ内、1:新しいタブ | | '),
'display_click_number' => array('type' => 'boolean', 'null' => false, 'default' => '1', 'comment' => 'displayclick number, 1: display or 0: no display | リンクのクリック数の表示 0:表示しない、1:表示する | | '),
'category_separator_line' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => 'separator line between the categories | カテゴリ間の区切り線 | | ', 'charset' => 'utf8'),
'list_style' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'comment' => 'list mark | リストマーク | | ', 'charset' => 'utf8'),
'created_user' => array('type' => 'integer', 'null' => true, 'default' => '0', 'comment' => 'created user | 作成者 | users.id | '),
'created' => array('type' => 'datetime', 'null' => true, 'default' => null, 'comment' => 'created datetime | 作成日時 | | '),
'modified_user' => array('type' => 'integer', 'null' => true, 'default' => '0', 'comment' => 'modified user | 更新者 | users.id | '),
'modified' => array('type' => 'datetime', 'null' => true, 'default' => null, 'comment' => 'modified datetime | 更新日時 | | '),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'frame_key' => 'Lorem ipsum dolor sit amet',
'display_type' => 1,
'open_new_tab' => 1,
'display_click_number' => 1,
'category_separator_line' => 'Lorem ipsum dolor sit amet',
'list_style' => 'Lorem ipsum dolor sit amet',
'created_user' => 1,
'created' => '2014-10-25 04:55:51',
'modified_user' => 1,
'modified' => '2014-10-25 04:55:51'
),
);
}