Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
sharepoint_saved_search_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
30
class
Sharepoint_Saved_Search_Management
extends
Asset_Management
31
{
32
33
38
function
Sharepoint_Saved_Search_Management
(&$pm)
39
{
40
$this->
Asset_Management
($pm);
41
$this->vars = Array(
42
'url'
=> Array (
43
'added'
=>
'0.1'
,
44
'type'
=>
'text'
,
45
'default'
=>
''
,
46
),
47
'cached_result'
=> Array (
48
'added'
=>
'0.1'
,
49
'type'
=>
'serialise'
,
50
'default'
=> Array(),
51
'parameters'
=> Array (
52
'allow_empty'
=> FALSE,
53
),
54
),
55
'search_logic'
=> Array (
56
'added'
=>
'0.1'
,
57
'type'
=>
'text'
,
58
'default'
=>
'And'
,
59
'parameters'
=> Array (
60
'allow_empty'
=> FALSE,
61
),
62
),
63
'row_limit'
=> Array(
64
'added'
=>
'0.1'
,
65
'type'
=>
'int'
,
66
'default'
=> 30,
67
'parameters'
=> Array (
68
'allow_empty'
=> TRUE,
69
'allow_negative'
=> FALSE,
70
),
71
),
72
'data_list'
=> Array (
73
'added'
=>
'0.1'
,
74
'type'
=>
'text'
,
75
'default'
=>
''
,
76
'parameters'
=> Array (
77
'allow_empty'
=> FALSE,
78
),
79
),
80
'download_files'
=> Array(
81
'added'
=>
'0.1'
,
82
'type'
=>
'boolean'
,
83
'default'
=> FALSE,
84
'description'
=>
'Whether to download the files attached with documents or not'
,
85
'parameters'
=> Array(
86
'allow_empty'
=> FALSE,
87
),
88
),
89
'search_options'
=> Array(
90
'added'
=>
'0.1'
,
91
'type'
=>
'serialise'
,
92
'default'
=> Array(),
93
'description'
=>
'Search option for each Sharepoint list'
,
94
'is_admin'
=> FALSE,
95
'parameters'
=> Array(
96
'allow_empty'
=> FALSE,
97
),
98
),
99
'username'
=> Array(
100
'added'
=>
'0.1'
,
101
'type'
=>
'text'
,
102
'default'
=>
''
,
103
),
104
'password'
=> Array(
105
'added'
=>
'0.1'
,
106
'type'
=>
'password'
,
107
'default'
=>
''
,
108
),
109
110
'dynamic_vars'
=> Array(
111
'added'
=>
'0.2'
,
112
'type'
=>
'serialise'
,
113
'default'
=> Array (
114
),
115
),
116
'parameter_map'
=> Array (
117
'added'
=>
'0.1'
,
118
'type'
=>
'parameter_map'
,
119
'default'
=> Array(),
120
'parameters'
=> Array (
121
'parameters'
=> Array(),
122
),
123
),
124
'download_file'
=> Array (
125
'added'
=>
'0.1'
,
126
'type'
=>
'boolean'
,
127
'default'
=> TRUE,
128
'description'
=>
'Whether to serve file locally or via the SharePoint URL'
,
129
'parameters'
=> Array (
130
'allow_empty'
=> FALSE,
131
),
132
),
133
134
// This array allows Sharepoint data source to map the dynamic parameters with trim options
135
// Eg: if you want to set a dynamic parameter to pass the keyword option in
136
// with parameter name 'search_term', then trim_options['keyword'] need to be set to 'search_term'
137
138
);
139
140
}
//end constructor
141
142
149
function
_getFileList
()
150
{
151
return
Array(
152
'js/ajax.js'
,
153
);
154
155
}
//end _getFileList()
156
157
158
}
//end class
159
160
?>
squiz_matrix
packages
sharepoint
sharepoint_saved_search
sharepoint_saved_search_management.inc
Generated on Tue Jan 29 2013 14:05:04 for Squiz Matrix by
1.8.3.1