-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUserAttributeSetting4editFixture.php
More file actions
99 lines (93 loc) · 2.29 KB
/
UserAttributeSetting4editFixture.php
File metadata and controls
99 lines (93 loc) · 2.29 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
/**
* UserAttributeSettingFixture
*
* @author Noriko Arai <arai@nii.ac.jp>
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
App::uses('UserAttributeSettingFixture', 'UserAttributes.Test/Fixture');
/**
* UserAttributeSettingFixture
*
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @package NetCommons\UserAttributes\Test\Fixture
* @codeCoverageIgnore
*/
class UserAttributeSetting4editFixture extends UserAttributeSettingFixture {
/**
* Model name
*
* @var string
*/
public $name = 'UserAttributeSetting';
/**
* Full Table Name
*
* @var string
*/
public $table = 'user_attribute_settings';
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => '1',
'user_attribute_key' => 'user_attribute_key',
'data_type_key' => 'text',
'row' => '1',
'col' => '1',
'weight' => '1',
'required' => true,
'display' => true,
'only_administrator_readable' => false,
'only_administrator_editable' => false,
'is_system' => false,
'display_label' => true,
'display_search_result' => true,
'self_public_setting' => true,
'self_email_setting' => false,
'is_multilingualization' => true,
),
array(
'id' => '2',
'user_attribute_key' => 'radio_attribute_key',
'data_type_key' => 'radio',
'row' => '1',
'col' => '1',
'weight' => '2',
'required' => true,
'display' => true,
'only_administrator_readable' => false,
'only_administrator_editable' => true,
'is_system' => false,
'display_label' => true,
'display_search_result' => true,
'self_public_setting' => true,
'self_email_setting' => false,
'is_multilingualization' => true,
),
array(
'id' => '3',
'user_attribute_key' => 'system_attribute_key',
'data_type_key' => 'text',
'row' => '1',
'col' => '1',
'weight' => '3',
'required' => true,
'display' => false,
'only_administrator_readable' => true,
'only_administrator_editable' => true,
'is_system' => true,
'display_label' => true,
'display_search_result' => true,
'self_public_setting' => true,
'self_email_setting' => false,
'is_multilingualization' => true,
),
);
}