Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
metadata_field_hierarchy_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Metadata_Field_Hierarchy_Management
extends
Asset_Management
31
{
32
33
38
function
__construct
(
Package_Manager
$pm)
39
{
40
Asset_Management::__construct($pm);
41
42
// additional attrs., that were not defined in parent
43
$this->vars = Array(
44
'hierarchy_options'
=> Array(
45
'added'
=>
'0.1'
,
46
'type'
=>
'serialise'
,
47
'default'
=> Array(),
48
'is_contextable'
=> TRUE,
49
),
50
'multiple'
=> Array(
51
'added'
=>
'0.1'
,
52
'type'
=>
'boolean'
,
53
'default'
=> FALSE,
54
'parameters'
=> Array(
'allow_empty'
=> FALSE,),
55
),
56
'edit_params'
=> Array(
57
'added'
=>
'0.1'
,
58
'type'
=>
'serialise'
,
59
'default'
=> Array(),
60
),
61
'allow_empty'
=> Array(
62
'added'
=>
'0.1'
,
63
'type'
=>
'boolean'
,
64
'default'
=> TRUE,
65
'parameters'
=> Array(
'allow_empty'
=> FALSE,),
66
),
67
'hier_sort'
=> Array(
68
'added'
=>
'0.1'
,
69
'type'
=>
'selection'
,
70
'default'
=>
'0'
,
71
'parameters'
=> Array(
72
'options'
=> Array(
73
'0'
=>
'Not Sorted'
,
74
'1'
=>
'Sort by Key'
,
75
'2'
=>
'Sort by Value'
,
76
),
77
'multiple'
=> FALSE,
78
'allow_empty'
=> FALSE,
79
),
80
),
81
'hier_level'
=> Array(
82
'added'
=>
'0.1'
,
83
'type'
=>
'int'
,
84
'default'
=>
'1'
,
85
),
86
'hier_depth'
=> Array(
87
'added'
=>
'0.1'
,
88
'type'
=>
'int'
,
89
'default'
=>
'1'
,
90
),
91
'hier_structure'
=> Array(
92
'added'
=>
'0.1'
,
93
'type'
=>
'selection'
,
94
'default'
=>
'0'
,
95
'parameters'
=> Array(
96
'options'
=> Array(
97
'0'
=>
'No'
,
98
'1'
=>
'Yes'
,
99
),
100
'multiple'
=> FALSE,
101
'allow_empty'
=> FALSE,
102
),
103
),
104
'display_type'
=> Array(
105
'added'
=>
'0.1'
,
106
'type'
=>
'selection'
,
107
'default'
=>
'0'
,
108
'parameters'
=> Array(
109
'options'
=> Array(
110
'0'
=>
'Flat View'
,
111
'1'
=>
'Drill-Down View'
,
112
),
113
'multiple'
=> FALSE,
114
'allow_empty'
=> FALSE,
115
),
116
),
117
'level_titles'
=> Array(
118
'added'
=>
'0.1'
,
119
'type'
=>
'serialise'
,
120
'default'
=> Array(),
121
'is_contextable'
=> TRUE,
122
),
123
'visible_part'
=> Array(
124
'added'
=>
'0.1'
,
125
'type'
=>
'selection'
,
126
'default'
=>
'key'
,
127
'parameters'
=> Array(
128
'options'
=> Array(
129
'key'
=>
'Key'
,
130
'value'
=>
'Value'
,
131
),
132
'multiple'
=> FALSE,
133
'allow_empty'
=> FALSE,
134
),
135
'description'
=>
'This will determine which part of the options will be printed on the frontend (Key by default).'
,
136
),
137
);
138
139
}
//end constructor
140
141
148
public
function
_getFileList
()
149
{
150
return
Array(
'js/metadata_field_hierarchy.js'
);
151
152
}
//end _getFileList()
153
154
155
}
//end class
156
157
?>
squiz_matrix
core
assets
metadata
metadata_fields
metadata_field_hierarchy
metadata_field_hierarchy_management.inc
Generated on Tue Jan 29 2013 14:04:38 for Squiz Matrix by
1.8.3.1