Public Member Functions | |
| recordHistory () | |
| main () | |
| displaySysHistoryEntry ($sh_uid) | |
| revertToPreviousValues ($element, $field) | |
| saveState ($element, $sumUp) | |
| displayHistory ($element) | |
| nextHisUid ($element, $hisUid) | |
| compareChangesWithCurrent ($element, $changeRec) | |
| readFieldTypes ($table, $id) | |
| cmp ($changeStatus, $oldRecord) | |
| removeFilefields ($table, $dataArray) | |
| renderEntry ($entry, $table) | |
| listHeader () | |
| linkPage ($str, $inparams=array(), $anchor=') | |
| getChangesSinceRecord ($element, $hisUid=0, $hisUid_Stop=0) | |
Public Attributes | |
| $maxSteps = 20 | |
| $listType = 0 | |
| $sh_uid | |
| $element | |
| $saveState | |
| $returnUrl | |
| $revert | |
| $sumUp | |
| $doReturn | |
Definition at line 83 of file class.show_rechis.inc.
|
|
Constructor for the class
Definition at line 106 of file class.show_rechis.inc. References t3lib_div::_GP(), and saveState(). |
|
||||||||||||
|
Compares the old record with the changed fields.
Definition at line 662 of file class.show_rechis.inc. Referenced by displayHistory(). |
|
||||||||||||
|
This compares a certain sys_history state (given by the $changeRec array) with the current values of the element refered to by $element.
Definition at line 586 of file class.show_rechis.inc. References $TCA, and t3lib_BEfunc::getRecord(). Referenced by displayHistory(), and revertToPreviousValues(). |
|
|
Displays the history states of an element
Definition at line 339 of file class.show_rechis.inc. References $GLOBALS, $LANG, $lines, $res, $SOBE, $table, $TCA, $theTime, a, cmp(), colspan, compareChangesWithCurrent(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::datetime(), debug(), t3lib_BEfunc::getUserNames(), height, img, t3lib_div::intInRange(), linkPage(), listHeader(), nbsp, nextHisUid(), saveState(), t3lib_iconWorks::skinImg(), table, and td. Referenced by main(). |
|
|
Displays a specific entry from the sys_history table
Definition at line 155 of file class.show_rechis.inc. References $content, $GLOBALS, $LANG, $lines, $res, $SOBE, $TCA, $theTime, colspan, t3lib_BEfunc::cshItem(), t3lib_BEfunc::datetime(), height, img, linkPage(), listHeader(), table, and td. Referenced by main(). |
|
||||||||||||||||
|
This creates an array with the sum of differences between two points in the sys_history
Definition at line 841 of file class.show_rechis.inc. References $GLOBALS, $res, $TCA, and debug(). Referenced by saveState(). |
|
||||||||||||||||
|
Creates a link to the same page.
Definition at line 813 of file class.show_rechis.inc. References a. Referenced by displayHistory(), and displaySysHistoryEntry(). |
|
|
Creates a header row based on the value of $this->listType
Definition at line 769 of file class.show_rechis.inc. References $LANG, $SOBE, height, img, nbsp, t3lib_iconWorks::skinImg(), and td. Referenced by displayHistory(), and displaySysHistoryEntry(). |
|
|
Main function for the listing of history. It detects incoming variables like element reference, history element uid etc. and renders the correct screen.
Definition at line 124 of file class.show_rechis.inc. References $content, displayHistory(), displaySysHistoryEntry(), revertToPreviousValues(), and saveState(). |
|
||||||||||||
|
Based on the uid of a sys_history record (a state) this method will find the uids of the previous and next state (if any)
Definition at line 540 of file class.show_rechis.inc. References $GLOBALS, $res, and $row. Referenced by displayHistory(). |
|
||||||||||||
|
Returns the record of $table/$id along with the sql field types for each field
Definition at line 631 of file class.show_rechis.inc. |
|
||||||||||||
|
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")
Definition at line 685 of file class.show_rechis.inc. References $TCA, field, t3lib_div::loadTCA(), and table. Referenced by revertToPreviousValues(). |
|
||||||||||||
|
Renders HTML table-rows with the comparison information of an sys_history entry record
Definition at line 708 of file class.show_rechis.inc. References $LANG, $lines, $SOBE, $TCA, t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getProcessedValue(), height, img, t3lib_div::loadTCA(), t3lib_div::makeInstance(), nbsp, t3lib_iconWorks::skinImg(), table, and td. |
|
||||||||||||
|
Return to previous values for element
Definition at line 219 of file class.show_rechis.inc. References $data, $GLOBALS, $redirect, $res, $row, $sumUp, compareChangesWithCurrent(), exit, field, t3lib_BEfunc::getRecord(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), and removeFilefields(). Referenced by main(). |
|
||||||||||||
|
Will save state uid $sumUp of element
Definition at line 285 of file class.show_rechis.inc. References $GLOBALS, $res, and getChangesSinceRecord(). Referenced by displayHistory(), main(), and recordHistory(). |
|
|
Definition at line 98 of file class.show_rechis.inc. |
|
|
Definition at line 93 of file class.show_rechis.inc. |
|
|
Definition at line 89 of file class.show_rechis.inc. |
|
|
Definition at line 86 of file class.show_rechis.inc. |
|
|
Definition at line 95 of file class.show_rechis.inc. |
|
|
Definition at line 96 of file class.show_rechis.inc. |
|
|
Definition at line 94 of file class.show_rechis.inc. |
|
|
Definition at line 92 of file class.show_rechis.inc. |
|
|
Definition at line 97 of file class.show_rechis.inc. Referenced by revertToPreviousValues(). |
1.4.3-20050530