Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
search_manager_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Search_Manager_Management
extends
Asset_Management
31
{
32
33
37
function
Search_Manager_Management
(&$pm)
38
{
39
$this->
Asset_Management
($pm);
40
$this->vars = Array(
41
'indexing'
=> Array(
42
'added'
=>
'0.1'
,
43
'type'
=>
'boolean'
,
44
'default'
=> FALSE,
45
'description'
=>
'Turns indexing on or off'
,
46
'parameters'
=> Array(
47
'allow_empty'
=> FALSE,
48
),
49
),
50
'min_word_length'
=> Array(
51
'added'
=>
'0.1'
,
52
'type'
=>
'int'
,
53
'default'
=>
'4'
,
54
'parameters'
=> Array(
55
'allow_negative'
=> FALSE,
56
),
57
),
58
'noise_word_list'
=> Array(
59
'added'
=>
'0.1'
,
60
'type'
=>
'serialise'
,
61
'default'
=> Array(
62
'a'
,
63
'the'
,
64
'it'
,
65
'this'
,
66
),
67
),
68
'white_word_list'
=> Array(
69
'added'
=>
'0.1'
,
70
'type'
=>
'serialise'
,
71
'default'
=> Array(),
72
),
73
'enable_begins_with'
=> Array(
74
'added'
=>
'0.5'
,
75
'type'
=>
'boolean'
,
76
'default'
=> TRUE,
77
'description'
=>
'Disable this option for faster search. Searching for \'room\' will find \'roommate\' but not \'bedroom\''
,
78
'parameters'
=> Array(
79
'allow_empty'
=> FALSE,
80
),
81
),
82
);
83
84
}
//end constructor
85
86
93
function
getEventList
()
94
{
95
return
Array(
96
Array(
97
'event_name'
=>
'assetDeleted'
,
98
'broadcast_type_code'
=>
'global'
,
99
'broadcast_strict_type_code'
=> TRUE,
100
'options'
=> Array(
101
'global'
=> TRUE,
102
),
103
),
104
Array(
105
'event_name'
=>
'AssetUpdate'
,
106
'broadcast_type_code'
=>
'global'
,
107
'broadcast_strict_type_code'
=> TRUE,
108
'options'
=> Array(
109
'global'
=> TRUE,
110
),
111
),
112
Array(
113
'event_name'
=>
'AssetCreate'
,
114
'broadcast_type_code'
=>
'global'
,
115
'broadcast_strict_type_code'
=> TRUE,
116
'options'
=> Array(
117
'global'
=> TRUE,
118
),
119
),
120
Array(
121
'event_name'
=>
'ContentsUpdated'
,
122
'broadcast_type_code'
=>
'global'
,
123
'broadcast_strict_type_code'
=> TRUE,
124
'options'
=> Array(
125
'global'
=> TRUE,
126
),
127
),
128
Array(
129
'event_name'
=>
'AssetStatusUpdate'
,
130
'broadcast_type_code'
=>
'global'
,
131
'broadcast_strict_type_code'
=> TRUE,
132
'options'
=> Array(
133
'global'
=> TRUE,
134
),
135
),
136
Array(
137
'event_name'
=>
'attributeChange'
,
138
'broadcast_type_code'
=>
'global'
,
139
'broadcast_strict_type_code'
=> TRUE,
140
'options'
=> Array(
141
'global'
=> TRUE,
142
),
143
),
144
Array(
145
'event_name'
=>
'MetadataUpdate'
,
146
'broadcast_type_code'
=>
'global'
,
147
'broadcast_strict_type_code'
=> TRUE,
148
'options'
=> Array(
149
'global'
=> TRUE,
150
),
151
),
152
Array(
153
'event_name'
=>
'MetadataDeleted'
,
154
'broadcast_type_code'
=>
'global'
,
155
'broadcast_strict_type_code'
=> TRUE,
156
'options'
=> Array(
157
'global'
=> TRUE,
158
),
159
),
160
);
161
162
}
//end getEventList()
163
164
165
}
//end class
166
?>
squiz_matrix
packages
search
search_manager
search_manager_management.inc
Generated on Tue Jan 29 2013 14:05:03 for Squiz Matrix by
1.8.3.1