<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: recordHistory Class Reference", "datetime" => "Sat Dec 2 19:25:24 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?> <!-- Generated by Doxygen 1.4.6 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.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> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <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> <h1>recordHistory Class Reference</h1><!-- doxytag: class="recordHistory" --><a href="classrecordHistory-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#eac730e87cde54934b7f3d62cf47e65d">recordHistory</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#e7264240d13e55589e048987eccd9804">main</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#785bde63d123a3ab05d05e0b7f086e64">toggleHighlight</a> ($uid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#16e6f8394409d668bf762a43cbbca7e8">performRollback</a> ($diff)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#b7650a52fb5a7b23ccb2c932ef601d9e">displaySettings</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#715a1dbf5439eb705073200f3e8bff21">displayHistory</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#da9b5a36f4036bf7f1686fe7b9119818">displayMultipleDiff</a> ($diff)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#1d99446c358d8e6bf0e34e3f75b6ae72">renderDiff</a> ($entry, $table, $rollbackUid=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#9c4f5c1d1d2f7e57ae87387a87fe8b41">createMultipleDiff</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#e6436dbd96b9f24d95d93422ec954aa7">createChangeLog</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#9cef81fdeea5e063383627dab65107f6">getHistoryData</a> ($table, $uid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#10e1fd45b28d8ce4955af3ab747ef2f9">generateTitle</a> ($table, $uid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#e09d8ec014ea9f61d3173fa4acdcfc1d">createRollbackLink</a> ($key, $alt='', $type=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#009519f1fdb1508a5ae527e2306bfeba">linkPage</a> ($str, $inparams=array(), $anchor='', $title='')</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#6f5eb885b0ebf10c5e251892e4f08d08">removeFilefields</a> ($table, $dataArray)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#eb280a868b7c0569540e4433469b8ee4">resolveElement</a> ($table, $uid)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#b0a267f826938b5aa17e34e55abfbba2">resolveShUid</a> ()</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b504054f3f583f8122a399dccd628f7"></a><!-- doxytag: member="recordHistory::$maxSteps" ref="0b504054f3f583f8122a399dccd628f7" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#0b504054f3f583f8122a399dccd628f7">$maxSteps</a> = 20</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13c35078885d43e0218e41706d505803"></a><!-- doxytag: member="recordHistory::$showDiff" ref="13c35078885d43e0218e41706d505803" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#13c35078885d43e0218e41706d505803">$showDiff</a> = 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5c71b1b16a04d9ada80c77a4b45f4f3"></a><!-- doxytag: member="recordHistory::$showSubElements" ref="a5c71b1b16a04d9ada80c77a4b45f4f3" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#a5c71b1b16a04d9ada80c77a4b45f4f3">$showSubElements</a> = 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3434f459027e361612a96d0dba373f93"></a><!-- doxytag: member="recordHistory::$showInsertDelete" ref="3434f459027e361612a96d0dba373f93" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#3434f459027e361612a96d0dba373f93">$showInsertDelete</a> = 1</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="763243fd2c302a5b6239e1b700716344"></a><!-- doxytag: member="recordHistory::$element" ref="763243fd2c302a5b6239e1b700716344" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#763243fd2c302a5b6239e1b700716344">$element</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab089ca4e399efe6879aaa9274a2c6c2"></a><!-- doxytag: member="recordHistory::$lastSyslogId" ref="ab089ca4e399efe6879aaa9274a2c6c2" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#ab089ca4e399efe6879aaa9274a2c6c2">$lastSyslogId</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5905d59811024c411e2473b06adb385b"></a><!-- doxytag: member="recordHistory::$returnUrl" ref="5905d59811024c411e2473b06adb385b" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#5905d59811024c411e2473b06adb385b">$returnUrl</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98dbfa56d0e8558366599e26bca91797"></a><!-- doxytag: member="recordHistory::$changeLog" ref="98dbfa56d0e8558366599e26bca91797" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#98dbfa56d0e8558366599e26bca91797">$changeLog</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bebf2e74cf69ce1a6077a2e6a5bac63"></a><!-- doxytag: member="recordHistory::$showMarked" ref="9bebf2e74cf69ce1a6077a2e6a5bac63" args="" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classrecordHistory.html#9bebf2e74cf69ce1a6077a2e6a5bac63">$showMarked</a> = FALSE</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00045">45</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="eac730e87cde54934b7f3d62cf47e65d"></a><!-- doxytag: member="recordHistory::recordHistory" ref="eac730e87cde54934b7f3d62cf47e65d" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::recordHistory </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Constructor for the class<p> <dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00065">65</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l00262">t3lib_div::_GP()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00875">resolveShUid()</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e6436dbd96b9f24d95d93422ec954aa7"></a><!-- doxytag: member="recordHistory::createChangeLog" ref="e6436dbd96b9f24d95d93422ec954aa7" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::createChangeLog </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates change log including sub-elements, filling $this->changeLog<p> <dl compact><dt><b>Returns:</b></dt><dd>[type] ... </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00640">640</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00058">$changeLog</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00676">getHistoryData()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00156">performRollback()</a>. </td> </tr> </table> <a class="anchor" name="9c4f5c1d1d2f7e57ae87387a87fe8b41"></a><!-- doxytag: member="recordHistory::createMultipleDiff" ref="9c4f5c1d1d2f7e57ae87387a87fe8b41" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::createMultipleDiff </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates a diff between the current version of the records and the selected version<p> <dl compact><dt><b>Returns:</b></dt><dd>array diff for many elements </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00579">579</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <a class="anchor" name="e09d8ec014ea9f61d3173fa4acdcfc1d"></a><!-- doxytag: member="recordHistory::createRollbackLink" ref="e09d8ec014ea9f61d3173fa4acdcfc1d" args="($key, $alt='', $type=0)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::createRollbackLink </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>key</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>alt</em> = <code>''</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>type</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> creates a link for the rollback<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>sting</em> </td><td>parameter which is set to rollbackFields </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>optional, alternative label and title tag of image </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>optional, type of rollback: 0 - ALL; 1 - element; 2 - field </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string HTML output </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00798">798</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00814">linkPage()</a>, and <a class="el" href="class_8t3lib__iconworks_8php-source.html#l00264">t3lib_iconWorks::skinImg()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00483">displayMultipleDiff()</a>. </td> </tr> </table> <a class="anchor" name="715a1dbf5439eb705073200f3e8bff21"></a><!-- doxytag: member="recordHistory::displayHistory" ref="715a1dbf5439eb705073200f3e8bff21" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::displayHistory </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Shows the full change log<p> <dl compact><dt><b>Returns:</b></dt><dd>string HTML for list, wrapped in a table. </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00342">342</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__befunc_8php-source.html#l01479">t3lib_BEfunc::calcAge()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l02219">t3lib_BEfunc::cshItem()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l01451">t3lib_BEfunc::datetime()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00778">generateTitle()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l01775">t3lib_BEfunc::getItemLabel()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l01152">t3lib_BEfunc::getPagesTSconfig()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l00278">t3lib_BEfunc::getRecordRaw()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l01300">t3lib_BEfunc::getUserNames()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00814">linkPage()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00533">renderDiff()</a>, and <a class="el" href="class_8t3lib__iconworks_8php-source.html#l00264">t3lib_iconWorks::skinImg()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <a class="anchor" name="da9b5a36f4036bf7f1686fe7b9119818"></a><!-- doxytag: member="recordHistory::displayMultipleDiff" ref="da9b5a36f4036bf7f1686fe7b9119818" args="($diff)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::displayMultipleDiff </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>diff</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Displays a diff over multiple fields including rollback links<p> <dl compact><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>difference array </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string HTML output </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00483">483</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00798">createRollbackLink()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00778">generateTitle()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00533">renderDiff()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <a class="anchor" name="b7650a52fb5a7b23ccb2c932ef601d9e"></a><!-- doxytag: member="recordHistory::displaySettings" ref="b7650a52fb5a7b23ccb2c932ef601d9e" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::displaySettings </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Displays settings<p> <dl compact><dt><b>Returns:</b></dt><dd>string HTML code to modify settings </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00270">270</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l00262">t3lib_div::_GP()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l00278">t3lib_BEfunc::getRecordRaw()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00814">linkPage()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <a class="anchor" name="10e1fd45b28d8ce4955af3ab747ef2f9"></a><!-- doxytag: member="recordHistory::generateTitle" ref="10e1fd45b28d8ce4955af3ab747ef2f9" args="($table, $uid)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::generateTitle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>table</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>uid</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> generates the title and puts the record title behind<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>[type]</em> </td><td>$table: ... </td></tr> <tr><td valign="top"></td><td valign="top"><em>[type]</em> </td><td>$uid: ... </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>[type] ... </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00778">778</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__befunc_8php-source.html#l00278">t3lib_BEfunc::getRecordRaw()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00342">displayHistory()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00483">displayMultipleDiff()</a>. </td> </tr> </table> <a class="anchor" name="9cef81fdeea5e063383627dab65107f6"></a><!-- doxytag: member="recordHistory::getHistoryData" ref="9cef81fdeea5e063383627dab65107f6" args="($table, $uid)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::getHistoryData </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>table</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>uid</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Gets history and delete/insert data from sys_log and sys_history<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td><a class="el" href="classDB.html">DB</a> table name </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>UID of record </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array history data of the record </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00676">676</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00058">$changeLog</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00861">resolveElement()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00640">createChangeLog()</a>. </td> </tr> </table> <a class="anchor" name="009519f1fdb1508a5ae527e2306bfeba"></a><!-- doxytag: member="recordHistory::linkPage" ref="009519f1fdb1508a5ae527e2306bfeba" args="($str, $inparams=array(), $anchor='', $title='')" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::linkPage </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>inparams</em> = <code>array()</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>anchor</em> = <code>''</code>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>title</em> = <code>''</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates a link to the same page.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>String to wrap in tags (must be htmlspecialchars()'ed prior to calling function) </td></tr> <tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>Array of key/value pairs to override the default values with. </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Possible anchor value. </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Possible title. </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string Link. private </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00814">814</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00798">createRollbackLink()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00342">displayHistory()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00270">displaySettings()</a>. </td> </tr> </table> <a class="anchor" name="e7264240d13e55589e048987eccd9804"></a><!-- doxytag: member="recordHistory::main" ref="e7264240d13e55589e048987eccd9804" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::main </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Main function for the listing of history. It detects incoming variables like element reference, history element uid etc. and renders the correct screen.<p> <dl compact><dt><b>Returns:</b></dt><dd>HTML content for the module </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00081">81</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00053">$element</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l00262">t3lib_div::_GP()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00640">createChangeLog()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00579">createMultipleDiff()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00342">displayHistory()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00483">displayMultipleDiff()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00270">displaySettings()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l02693">t3lib_div::locationHeaderUrl()</a>, <a class="el" href="class_8show__rechis_8inc-source.html#l00156">performRollback()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00137">toggleHighlight()</a>. </td> </tr> </table> <a class="anchor" name="16e6f8394409d668bf762a43cbbca7e8"></a><!-- doxytag: member="recordHistory::performRollback" ref="16e6f8394409d668bf762a43cbbca7e8" args="($diff)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::performRollback </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>diff</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> perform rollback<p> <dl compact><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>diff array to rollback </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>void private </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00156">156</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8show__rechis_8inc-source.html#l00640">createChangeLog()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l03984">t3lib_div::makeInstance()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00839">removeFilefields()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <a class="anchor" name="6f5eb885b0ebf10c5e251892e4f08d08"></a><!-- doxytag: member="recordHistory::removeFilefields" ref="6f5eb885b0ebf10c5e251892e4f08d08" args="($table, $dataArray)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::removeFilefields </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>table</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>dataArray</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Will traverse the field names in $dataArray and look in $TCA if the fields are of types which cannot be handled by the sys_history (that is currently group types with internal_type set to "file")<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Table name </td></tr> <tr><td valign="top"></td><td valign="top"><em>array</em> </td><td>The data array </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>array The modified data array private </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00839">839</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l03746">t3lib_div::loadTCA()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00156">performRollback()</a>. </td> </tr> </table> <a class="anchor" name="1d99446c358d8e6bf0e34e3f75b6ae72"></a><!-- doxytag: member="recordHistory::renderDiff" ref="1d99446c358d8e6bf0e34e3f75b6ae72" args="($entry, $table, $rollbackUid=0)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::renderDiff </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>entry</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>table</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>rollbackUid</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Renders HTML table-rows with the comparison information of an sys_history entry record<p> <dl compact><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>sys_history entry record. </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>The table name </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>If set to UID of record, display rollback links </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string HTML table private </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00533">533</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__befunc_8php-source.html#l01775">t3lib_BEfunc::getItemLabel()</a>, <a class="el" href="class_8t3lib__befunc_8php-source.html#l01838">t3lib_BEfunc::getProcessedValue()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l03746">t3lib_div::loadTCA()</a>, and <a class="el" href="class_8t3lib__div_8php-source.html#l03984">t3lib_div::makeInstance()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00342">displayHistory()</a>, and <a class="el" href="class_8show__rechis_8inc-source.html#l00483">displayMultipleDiff()</a>. </td> </tr> </table> <a class="anchor" name="eb280a868b7c0569540e4433469b8ee4"></a><!-- doxytag: member="recordHistory::resolveElement" ref="eb280a868b7c0569540e4433469b8ee4" args="($table, $uid)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::resolveElement </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>table</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>uid</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Convert input element reference to workspace version if any.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>table of input element </td></tr> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>UID of record </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>integer converted UID of record </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00861">861</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__befunc_8php-source.html#l03248">t3lib_BEfunc::getWorkspaceVersionOfRecord()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00676">getHistoryData()</a>. </td> </tr> </table> <a class="anchor" name="b0a267f826938b5aa17e34e55abfbba2"></a><!-- doxytag: member="recordHistory::resolveShUid" ref="b0a267f826938b5aa17e34e55abfbba2" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::resolveShUid </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> resolve sh_uid (used from log)<p> <dl compact><dt><b>Returns:</b></dt><dd>[type] ... </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00875">875</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l00262">t3lib_div::_GP()</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00065">recordHistory()</a>. </td> </tr> </table> <a class="anchor" name="785bde63d123a3ab05d05e0b7f086e64"></a><!-- doxytag: member="recordHistory::toggleHighlight" ref="785bde63d123a3ab05d05e0b7f086e64" args="($uid)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">recordHistory::toggleHighlight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>uid</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> toggles highlight state of record<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>integer</em> </td><td>uid of sys_history entry </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>[type] ... </dd></dl> <p> Definition at line <a class="el" href="class_8show__rechis_8inc-source.html#l00137">137</a> of file <a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a>. <p> Referenced by <a class="el" href="class_8show__rechis_8inc-source.html#l00081">main()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li>typo3_src-4.0.1/typo3/<a class="el" href="class_8show__rechis_8inc-source.html">class.show_rechis.inc</a></ul> <?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>