Location: PHPKode > projects > Wiki Web Help > wwh-0.3.9/wwh/class/html/class_revision.html
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!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>Revision Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>

<div class="contents">
<h1>Revision Class Reference</h1><!-- doxytag: class="Revision" --><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="class_revision.html#afe9e925c0ffc84a353df1639946e0351">Revision</a> ($con, $id, $uid, $return_address)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_revision.html#ab6d04a07795897c44e9d63dcb016f438">save</a> ($text, $type, $comment=&quot;&quot;)</td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0debe10448ec56a57b5509648408a549"></a><!-- doxytag: member="Revision::$con" ref="a0debe10448ec56a57b5509648408a549" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$con</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae310061babb9c796e5c0eb0d9efaeca7"></a><!-- doxytag: member="Revision::$node_id" ref="ae310061babb9c796e5c0eb0d9efaeca7" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$node_id</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0fcd925f00973e32f7214859dfb3c6b"></a><!-- doxytag: member="Revision::$user_id" ref="af0fcd925f00973e32f7214859dfb3c6b" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$user_id</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab63d47b3e15a245707b2198277f6e7d2"></a><!-- doxytag: member="Revision::$node_name" ref="ab63d47b3e15a245707b2198277f6e7d2" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$node_name</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11718ab5e7f24808ea2a0ca85c0bd390"></a><!-- doxytag: member="Revision::$return_address" ref="a11718ab5e7f24808ea2a0ca85c0bd390" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>$return_address</b></td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afe9e925c0ffc84a353df1639946e0351"></a><!-- doxytag: member="Revision::Revision" ref="afe9e925c0ffc84a353df1639946e0351" args="($con, $id, $uid, $return_address)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Revision </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>con</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>return_address</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Consructor</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$con</em>&nbsp;</td><td>The connection to the mysql database </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$id</em>&nbsp;</td><td>The id of the node associated with the tag </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$uid</em>&nbsp;</td><td>The id of the user associated with the tag </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab6d04a07795897c44e9d63dcb016f438"></a><!-- doxytag: member="Revision::save" ref="ab6d04a07795897c44e9d63dcb016f438" args="($text, $type, $comment=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">save </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>comment</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Updates the history and notifies subscribers</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$text</em>&nbsp;</td><td>The text of the previous revision </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$type</em>&nbsp;</td><td>"page" or "tag" </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>revision.class.php</li>
</ul>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Jul 7 16:20:57 2010 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
Return current item: Wiki Web Help