File: interfaceIcingaApiSearchInterface.html

package info (click to toggle)
icinga 1.0.2-2%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 33,964 kB
  • ctags: 13,294
  • sloc: xml: 154,821; ansic: 99,198; sh: 14,761; sql: 5,852; php: 5,126; perl: 2,838; makefile: 1,268
file content (460 lines) | stat: -rw-r--r-- 24,184 bytes parent folder | download | duplicates (2)
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICINGA-API: IcingaApiSearchInterface Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>IcingaApiSearchInterface Interface Reference</h1><!-- doxytag: class="IcingaApiSearchInterface" -->
<p>Inherited by <a class="el" href="classIcingaApiSearch.html">IcingaApiSearch</a>.</p>

<p><a href="interfaceIcingaApiSearchInterface-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#ada84783ce25f6ad97b5ec19c3526c68c">setConnectionObject</a> (<a class="el" href="interfaceIcingaApiConnectionInterface.html">IcingaApiConnectionInterface</a> &amp;$object)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a64c94cd1da25e2c4295ef654112da66b">setResultType</a> ($type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a2ea9008c0543d7633a5a3e82aaa8d0d2">setSearchType</a> ($type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#af7d2f63eb31c04a96e59ba1a2b00381b">setSearchTarget</a> ($target)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#aa8f78dcc1edcaa54a61ba69a8cf0348a">setSearchFilter</a> ($filter, $value=false, $defaultMatch=<a class="el" href="interfaceIcingaApiConstantsInterface.html#a3d26505132da09c9d807744b5ef31c97">IcingaApi::MATCH_EXACT</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a6dfb21e5198cae98470f139f96f364fc">setSearchFilterAppendix</a> ($statement, $searchAggregator=self::SEARCH_AND)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a7fc72f3e97d9014e8fa9c4880ab0445b">setSearchGroup</a> ($columns)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a2e45b232cfdb5228e126abb3ee334831">setSearchOrder</a> ($column, $direction=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a1ede6f2c2c71f80c717217e277cbe0f1">setSearchLimit</a> ($start, $length=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#aa546e73c8c03ef15fdd1898699837929">setContactSource</a> ($source)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a5f132923925eb9116d3385ecb8afc23d">setContact</a> ($contact)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceIcingaApiSearchInterface.html#a7cce9b0c65e336fc406da0762a052bdd">searchValid</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7cce9b0c65e336fc406da0762a052bdd"></a><!-- doxytag: member="IcingaApiSearchInterface::searchValid" ref="a7cce9b0c65e336fc406da0762a052bdd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::searchValid </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>check available search data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>boolean true if search data is valid otherwise false </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#acbb340ce8a42385dc918c88e7fb6ed08">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="ada84783ce25f6ad97b5ec19c3526c68c"></a><!-- doxytag: member="IcingaApiSearchInterface::setConnectionObject" ref="ada84783ce25f6ad97b5ec19c3526c68c" args="(IcingaApiConnectionInterface &amp;$object)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setConnectionObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interfaceIcingaApiConnectionInterface.html">IcingaApiConnectionInterface</a> &amp;$&nbsp;</td>
          <td class="paramname"> <em>object</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets the connection object</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="interfaceIcingaApiConnectionInterface.html">IcingaApiConnectionInterface</a></em>&nbsp;</td><td>$object connection object </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>void </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a12febf0bba518400a3eb3db72ae8eb1b">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a5f132923925eb9116d3385ecb8afc23d"></a><!-- doxytag: member="IcingaApiSearchInterface::setContact" ref="a5f132923925eb9116d3385ecb8afc23d" args="($contact)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setContact </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>contact</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets the current contact for further filtering </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$contact contact to use as filter </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a23a05c2e51833ef419cf001650f08efa">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="aa546e73c8c03ef15fdd1898699837929"></a><!-- doxytag: member="IcingaApiSearchInterface::setContactSource" ref="aa546e73c8c03ef15fdd1898699837929" args="($source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setContactSource </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>source</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set source to find current contact </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$source source of contact </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a2fe9a3cd7f3319f7cafcd21a68f014bc">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a64c94cd1da25e2c4295ef654112da66b"></a><!-- doxytag: member="IcingaApiSearchInterface::setResultType" ref="a64c94cd1da25e2c4295ef654112da66b" args="($type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setResultType </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets the type of return data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$type type of data to return (object, array) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a05a413faf051af4f5e1c43065cd1f514">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="aa8f78dcc1edcaa54a61ba69a8cf0348a"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchFilter" ref="aa8f78dcc1edcaa54a61ba69a8cf0348a" args="($filter, $value=false, $defaultMatch=IcingaApi::MATCH_EXACT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchFilter </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>value</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>defaultMatch</em> = <code><a class="el" href="interfaceIcingaApiConstantsInterface.html#a3d26505132da09c9d807744b5ef31c97">IcingaApi::MATCH_EXACT</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets search filter(s) </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$filter filter key or associative array of key-value pairs defining filters </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$value value to filter for </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a93a80f974f1403f1de81166c417fe02a">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a6dfb21e5198cae98470f139f96f364fc"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchFilterAppendix" ref="a6dfb21e5198cae98470f139f96f364fc" args="($statement, $searchAggregator=self::SEARCH_AND)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchFilterAppendix </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>statement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>searchAggregator</em> = <code>self::SEARCH_AND</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets custom search filter(s) to append to end of filter statement </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$statement filter statement </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$searchAggregator search aggregator to use for appending statement to filter </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a992ae4079202c5e7d51bc33b85008237">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a7fc72f3e97d9014e8fa9c4880ab0445b"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchGroup" ref="a7fc72f3e97d9014e8fa9c4880ab0445b" args="($columns)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchGroup </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets columns to group query by </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$columns array of columns or string of one or more comma-separated columns to group by </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a24843c544851370ef8bb54c7be9826b7">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a1ede6f2c2c71f80c717217e277cbe0f1"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchLimit" ref="a1ede6f2c2c71f80c717217e277cbe0f1" args="($start, $length=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchLimit </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>length</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets limits for query </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$start start row as integer or string containing start and length separated by a comma (NOTE: if $length is missing $start will use as $length instead!) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>integer</em>&nbsp;</td><td>$length number of rows to query for (optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#ad23da8765ea97bd2842e8b0ef7cdafad">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a2e45b232cfdb5228e126abb3ee334831"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchOrder" ref="a2e45b232cfdb5228e126abb3ee334831" args="($column, $direction=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchOrder </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>direction</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets columns and direction to sort by </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$column array of columns or string of one or more comma-separated columns including optional directions to sort by </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$direction sort direction (asc|desc; optional) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#aab02785a5bdc9d31dd5ff3ee6702f4b9">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="af7d2f63eb31c04a96e59ba1a2b00381b"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchTarget" ref="af7d2f63eb31c04a96e59ba1a2b00381b" args="($target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchTarget </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>target</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets result columns for query</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$columns array of columns or column as string </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; sets the search target</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$target target to search for </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#aa6f5ab33f5b961c9687fa6683b6d72ad">IcingaApiSearch</a>.</p>

</div>
</div>
<a class="anchor" id="a2ea9008c0543d7633a5a3e82aaa8d0d2"></a><!-- doxytag: member="IcingaApiSearchInterface::setSearchType" ref="a2ea9008c0543d7633a5a3e82aaa8d0d2" args="($type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IcingaApiSearchInterface::setSearchType </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>sets the type of search</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$type search type </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="interfaceIcingaApiSearchInterface.html">IcingaApiSearchInterface</a> </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler &lt;<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>&gt; </dd></dl>

<p>Implemented in <a class="el" href="classIcingaApiSearch.html#a6c2c9782018cc62cfb71ef6bfe390445">IcingaApiSearch</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>/home/jefe/workspace_nw/icinga-api/objects/search/<a class="el" href="IcingaApiSearchInterface_8php.html">IcingaApiSearchInterface.php</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Thu Jan 14 15:06:46 2010 for ICINGA-API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>