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
|
<!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: IcingaApiConversionTime 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>IcingaApiConversionTime Class Reference</h1><!-- doxytag: class="IcingaApiConversionTime" -->
<p><a href="classIcingaApiConversionTime-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="classIcingaApiConversionTime.html#a2adf65ea0e5894b79f31028b13eb8610">convertTime</a> ($time, $format= '%Y-%m-%d%H:%M:%S')</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>conversion helper </p>
<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>Member Function Documentation</h2>
<a class="anchor" id="a2adf65ea0e5894b79f31028b13eb8610"></a><!-- doxytag: member="IcingaApiConversionTime::convertTime" ref="a2adf65ea0e5894b79f31028b13eb8610" args="($time, $format= '%Y-%m-%d%H:%M:%S')" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IcingaApiConversionTime::convertTime </td>
<td>(</td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>time</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">$ </td>
<td class="paramname"> <em>format</em> = <code>'%Y-%m-%d %H:%M:%S'</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>converts time from epoch to iso (etc.) and back </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>$time time as unix timestamp or ist, etc. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>$format output format if $time is a unix timestamp </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>mixed converted time or false on error </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/>The documentation for this class was generated from the following file:<ul>
<li>/home/jefe/workspace_nw/icinga-api/objects/conversion/<a class="el" href="IcingaApiConversionTime_8php.html">IcingaApiConversionTime.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>
|