Documentation TYPO3 par Ameos |
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 $element, 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 $element, cmp(), compareChangesWithCurrent(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::datetime(), getChangesSinceRecord(), t3lib_BEfunc::getUserNames(), t3lib_div::intInRange(), linkPage(), listHeader(), nextHisUid(), renderEntry(), saveState(), and t3lib_iconWorks::skinImg(). Referenced by main(). |
|
Displays a specific entry from the sys_history table
Definition at line 155 of file class.show_rechis.inc. References $sh_uid, t3lib_BEfunc::cshItem(), t3lib_BEfunc::datetime(), linkPage(), listHeader(), and renderEntry(). 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 $element. Referenced by displayHistory(), revertToPreviousValues(), and saveState(). |
|
Creates a link to the same page.
Definition at line 813 of file class.show_rechis.inc. 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 t3lib_iconWorks::skinImg(). 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 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 $element. 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 t3lib_div::loadTCA(). 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 t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getProcessedValue(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), and t3lib_iconWorks::skinImg(). Referenced by displayHistory(), and displaySysHistoryEntry(). |
|
Return to previous values for element
Definition at line 219 of file class.show_rechis.inc. References $element, $sumUp, compareChangesWithCurrent(), getChangesSinceRecord(), 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 $element, $sumUp, and getChangesSinceRecord(). Referenced by displayHistory(), main(), and recordHistory(). |