

Definition at line 54 of file class.tx_version_cm1.php.
| tx_version_cm1::main | ( | &$ | backRef, | |
| $ | menuItems, | |||
| $ | table, | |||
| $ | uid | |||
| ) |
Main function, adding the item to input menuItems array
| object | References to parent clickmenu objects. | |
| array | Array of existing menu items accumulated. New element added to this. | |
| string | Table name of the element | |
| integer | Record UID of the element |
Definition at line 65 of file class.tx_version_cm1.php.
| tx_version_cm1::includeLL | ( | ) |
Includes the [extDir]/locallang.php and returns the $LOCAL_LANG array found in that file.
Definition at line 120 of file class.tx_version_cm1.php.
| tx_version_cm1::menuConfig | ( | ) |
| tx_version_cm1::main | ( | ) |
| tx_version_cm1::printContent | ( | ) |
| tx_version_cm1::versioningMgm | ( | ) |
| tx_version_cm1::pageSubContent | ( | $ | pid, | |
| $ | c = 0 | |||
| ) |
| tx_version_cm1::lookForOwnVersions | ( | $ | table, | |
| $ | uid | |||
| ) |
| tx_version_cm1::adminLinks | ( | $ | table, | |
| $ | row | |||
| ) |
| tx_version_cm1::workspaceMgm | ( | ) |
| tx_version_cm1::displayWorkspaceOverview | ( | ) |
Rendering the overview of versions in the current workspace
| tx_version_cm1::displayWorkspaceOverview_list | ( | $ | pArray | ) |
Rendering the content for the publish / review overview: (Made for internal recursive calling)
| array | Storage of the elements to display (see displayWorkspaceOverview() / displayWorkspaceOverview_setInPageArray()) |
| tx_version_cm1::displayWorkspaceOverview_setInPageArray | ( | &$ | pArray, | |
| $ | table, | |||
| $ | row | |||
| ) |
| tx_version_cm1::displayWorkspaceOverview_allStageCmd | ( | ) |
| tx_version_cm1::formatVerId | ( | $ | verId | ) |
| tx_version_cm1::formatWorkspace | ( | $ | wsid | ) |
| tx_version_cm1::formatCount | ( | $ | count | ) |
| tx_version_cm1::versionsInOtherWS | ( | $ | table, | |
| $ | uid | |||
| ) |
| tx_version_cm1::showStageChangeLog | ( | $ | table, | |
| $ | id, | |||
| $ | stageCommands | |||
| ) |
| tx_version_cm1::subElements | ( | $ | uid, | |
| $ | treeLevel, | |||
| $ | origId = 0 | |||
| ) |
Creates display of sub elements of a page when the swap mode is either "Page" or "Branch" (0 / ALL)
| integer | Page uid (for either online or offline version, but it MUST have swapmode/treeLevel set to >0 (not -1 indicating element versioning) | |
| integer | The treeLevel value, >0 indicates "branch" while 0 means page+content. (-1 would have meant element versioning, but that should never happen for a call to this function!) | |
| integer | For offline versions; This is t3ver_oid, the original ID of the online page. |
| tx_version_cm1::subElements_getNonPageRecords | ( | $ | tN, | |
| $ | uid, | |||
| &$ | recList | |||
| ) |
| tx_version_cm1::subElements_renderItem | ( | &$ | tCell, | |
| $ | tN, | |||
| $ | uid, | |||
| $ | rec, | |||
| $ | origId, | |||
| $ | iconMode, | |||
| $ | HTMLdata | |||
| ) |
Render a single item in a subelement list into a table row:
| array | Table rows, passed by reference | |
| string | Table name | |
| integer | Page uid for which the subelements are selected/shown | |
| array | Row of element in list | |
| integer | The uid of the online version of $uid. If zero it means we are drawing a row for the online version itself while a value means we are drawing display for an offline version. | |
| integer | Mode of icon display: 0=not the last, 1= is the last in list (make joinbottom icon then), 2=do not shown icons are all (for pages from the page tree already rendered) | |
| string | Prefix HTML data (icons for tree rendering) |
| tx_version_cm1::markupNewOriginals | ( | ) |
| tx_version_cm1::createDiffView | ( | $ | table, | |
| $ | diff_1_record, | |||
| $ | diff_2_record | |||
| ) |
Create visual difference view of two records. Using t3lib_diff library
| string | Table name | |
| array | New version record (green) | |
| array | Old version record (red) |
| tx_version_cm1::displayWorkspaceOverview_stageCmd | ( | $ | table, | |
| &$ | rec_off | |||
| ) |
| tx_version_cm1::displayWorkspaceOverview_commandLinks | ( | $ | table, | |
| &$ | rec_on, | |||
| &$ | rec_off, | |||
| $ | vType | |||
| ) |
| tx_version_cm1::displayWorkspaceOverview_commandLinksSub | ( | $ | table, | |
| $ | rec, | |||
| $ | origId | |||
| ) |
Links to publishing etc of a version
| string | Table name | |
| array | Record | |
| integer | The uid of the online version of $uid. If zero it means we are drawing a row for the online version itself while a value means we are drawing display for an offline version. |
| tx_version_cm1::publishAction | ( | ) |
| tx_version_cm1::$MCONF = array() |
Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.
Reimplemented from t3lib_SCbase.
| tx_version_cm1::$MOD_MENU = array() |
The module menu items array. Each key represents a key for which values can range between the items in the array of that key.
Reimplemented from t3lib_SCbase.
| tx_version_cm1::$MOD_SETTINGS = array() |
Current settings for the keys of the MOD_MENU array
Reimplemented from t3lib_SCbase.
| tx_version_cm1::$doc |
Generally used to hold an instance of the 'template' class from typo3/template.php
Reimplemented from t3lib_SCbase.
| tx_version_cm1::$content |
Generally used for accumulating the output content of backend modules
Reimplemented from t3lib_SCbase.