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
|
<!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: IcingaApiConnection Class 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 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 List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>IcingaApiConnection Class Reference</h1><!-- doxytag: class="IcingaApiConnection" --><!-- doxytag: inherits="IcingaApi" -->
<p>Inherits <a class="el" href="classIcingaApi.html">IcingaApi</a>.</p>
<p>Inherited by <a class="el" href="classIcingaApiConnectionDatabase.html">IcingaApiConnectionDatabase</a>, <a class="el" href="classIcingaApiConnectionFile.html">IcingaApiConnectionFile</a>, and <a class="el" href="classIcingaApiConnectionLivestatus.html">IcingaApiConnectionLivestatus</a>.</p>
<div class="dynheader">
Collaboration diagram for IcingaApiConnection:</div>
<div class="dynsection">
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classIcingaApiConnection-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#ace15af88bce077c81dacf10a4905dcf7">__construct</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#ae97bba83ff25353d19a9ee76c222dab0">checkConfig</a> ($config)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#a798fb079d16e38f1f2e95606d72c9ea3">setDefaultSearchFilter</a> ($filter, $value=false, $defaultMatch=<a class="el" href="interfaceIcingaApiConstantsInterface.html#a3d26505132da09c9d807744b5ef31c97">IcingaApi::MATCH_EXACT</a>)</td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#a7162c92e63ab18aa652938af937327da">$config</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#a6d221b688bbbf7c7c3e1fb92afd8a7de">$connectionObject</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#aab7c0db6aec6d969a70849e61d93025a">$connectionResultSet</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classIcingaApiConnection.html#ae7a6fc54d8e293f6d89adfe082c02b12">$searchFilterDefault</a> = array()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler <<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>> </dd></dl>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ace15af88bce077c81dacf10a4905dcf7"></a><!-- doxytag: member="IcingaApiConnection::__construct" ref="ace15af88bce077c81dacf10a4905dcf7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::__construct </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>class constructor</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> </td><td></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 <<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>> </dd></dl>
<p>Reimplemented from <a class="el" href="classIcingaApi.html#a0f4c0e78ca30b530dd8e7865518f32ac">IcingaApi</a>.</p>
<p>Reimplemented in <a class="el" href="classIcingaApiConnectionDatabase.html#ab5b193112de09dc0ac267ee6586d1d6b">IcingaApiConnectionDatabase</a>, <a class="el" href="classIcingaApiConnectionFile.html#aebd29af813eb7280ac341e9eb750bf96">IcingaApiConnectionFile</a>, <a class="el" href="classIcingaApiConnectionIdo.html#a91139dc3276afc0151515c9015bec36e">IcingaApiConnectionIdo</a>, and <a class="el" href="classIcingaApiConnectionLivestatus.html#a23829bb2b5e75e55682748c89f4662a9">IcingaApiConnectionLivestatus</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae97bba83ff25353d19a9ee76c222dab0"></a><!-- doxytag: member="IcingaApiConnection::checkConfig" ref="ae97bba83ff25353d19a9ee76c222dab0" args="($config)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::checkConfig </td>
<td>(</td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>config</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>checks the database configuration</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>$config associative array storing configuration </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>boolean true if configuration is OK, false on error(s) </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Christian Doebler <<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>> </dd></dl>
</div>
</div>
<a class="anchor" id="a798fb079d16e38f1f2e95606d72c9ea3"></a><!-- doxytag: member="IcingaApiConnection::setDefaultSearchFilter" ref="a798fb079d16e38f1f2e95606d72c9ea3" args="($filter, $value=false, $defaultMatch=IcingaApi::MATCH_EXACT)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::setDefaultSearchFilter </td>
<td>(</td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>value</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>defaultMatch</em> = <code><a class="el" href="interfaceIcingaApiConstantsInterface.html#a3d26505132da09c9d807744b5ef31c97">IcingaApi::MATCH_EXACT</a></code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>sets default 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> </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> </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 <<a href="mailto:christian.doebler@netways.de">christian.doebler@netways.de</a>> </dd></dl>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a7162c92e63ab18aa652938af937327da"></a><!-- doxytag: member="IcingaApiConnection::$config" ref="a7162c92e63ab18aa652938af937327da" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::$config = false<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6d221b688bbbf7c7c3e1fb92afd8a7de"></a><!-- doxytag: member="IcingaApiConnection::$connectionObject" ref="a6d221b688bbbf7c7c3e1fb92afd8a7de" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::$connectionObject = false<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aab7c0db6aec6d969a70849e61d93025a"></a><!-- doxytag: member="IcingaApiConnection::$connectionResultSet" ref="aab7c0db6aec6d969a70849e61d93025a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::$connectionResultSet = false<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae7a6fc54d8e293f6d89adfe082c02b12"></a><!-- doxytag: member="IcingaApiConnection::$searchFilterDefault" ref="ae7a6fc54d8e293f6d89adfe082c02b12" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConnection::$searchFilterDefault = array()<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/jefe/workspace_nw/icinga-api/objects/connection/<a class="el" href="IcingaApiConnection_8php.html">IcingaApiConnection.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
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|