|
TYPO3 API
SVNRelease
|


Definition at line 54 of file class.tx_version_cm1.php.
| tx_version_cm1::adminLinks | ( | $ | table, |
| $ | row | ||
| ) |
Administrative links for a table / record
| string | Table name |
| array | Record for which administrative links are generated. |
Definition at line 625 of file index.php.
References $BE_USER, $GLOBALS, $pageModule, $row, t3lib_BEfunc\BEgetRootLine(), t3lib_BEfunc\editOnClick(), t3lib_iconWorks\getSpriteIcon(), t3lib_extMgm\isLoaded(), t3lib_BEfunc\isModuleSetInTBE_MODULES(), and t3lib_BEfunc\viewOnClick().
Referenced by versioningMgm().
| 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 | ( | ) |
Rendering the overview of versions in the current workspace
Definition at line 769 of file index.php.
Referenced by workspaceMgm().
| tx_version_cm1::displayWorkspaceOverview_allStageCmd | ( | ) |
| 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::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_stageCmd | ( | $ | table, |
| &$ | rec_off | ||
| ) |
| tx_version_cm1::formatCount | ( | $ | count | ) |
| tx_version_cm1::formatVerId | ( | $ | verId | ) |
| tx_version_cm1::formatWorkspace | ( | $ | wsid | ) |
| tx_version_cm1::getButtons | ( | ) | [protected] |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 335 of file index.php.
References $BACK_PATH, $BE_USER, $GLOBALS, $TCA, t3lib_BEfunc\BEgetRootLine(), t3lib_div\getIndpEnv(), t3lib_BEfunc\getListViewLink(), t3lib_iconWorks\getSpriteIcon(), and t3lib_BEfunc\viewOnClick().
Referenced by main().
| tx_version_cm1::includeLL | ( | ) |
Includes the [extDir]/locallang.php and returns the $LOCAL_LANG array found in that file.
Definition at line 123 of file class.tx_version_cm1.php.
Referenced by main().
| tx_version_cm1::lookForOwnVersions | ( | $ | table, |
| $ | uid | ||
| ) |
Look for number of versions of a record
| string | Table name |
| integer | Record uid |
Definition at line 608 of file index.php.
References $TCA, and t3lib_BEfunc\selectVersionsOfRecord().
Referenced by pageSubContent().
| 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.
References $BE_USER, $GLOBALS, $TCA, $value, t3lib_extMgm\extRelPath(), and includeLL().
| tx_version_cm1::main | ( | ) |
Main function of the module. Write the content to $this->content
Definition at line 189 of file index.php.
References $BACK_PATH, $BE_USER, $CLIENT, $GLOBALS, $TCA, $TYPO3_CONF_VARS, t3lib_div\_GP(), getButtons(), t3lib_BEfunc\getFuncMenu(), t3lib_div\getIndpEnv(), t3lib_BEfunc\getRecord(), t3lib_BEfunc\isModuleSetInTBE_MODULES(), t3lib_div\makeInstance(), t3lib_BEfunc\readPageAccess(), versioningMgm(), workspaceMenu(), and workspaceMgm().
| tx_version_cm1::markupNewOriginals | ( | ) |
| tx_version_cm1::menuConfig | ( | ) |
Initialize menu configuration
Reimplemented from t3lib_SCbase.
Definition at line 142 of file index.php.
References $GLOBALS, t3lib_div\_GP(), t3lib_BEfunc\deleteClause(), and t3lib_BEfunc\getModuleData().
| tx_version_cm1::pageSubContent | ( | $ | pid, |
| $ | c = 0 |
||
| ) |
Recursively look for children for page version with $pid
| integer | UID of page record for which to look up sub-elements following that version |
| integer | Counter, do not set (limits to 100 levels) |
Definition at line 554 of file index.php.
References $content, $GLOBALS, $pid, $TCA, t3lib_BEfunc\deleteClause(), t3lib_BEfunc\getRecordTitle(), lookForOwnVersions(), and t3lib_div\removeArrayEntryByValue().
Referenced by versioningMgm().
| tx_version_cm1::printContent | ( | ) |
| tx_version_cm1::publishAction | ( | ) |
Will publish workspace if buttons are pressed
Definition at line 1816 of file index.php.
Referenced by workspaceMgm().
| 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. |
Definition at line 1261 of file index.php.
References $GLOBALS, $TCA, t3lib_BEfunc\getRecord(), t3lib_div\makeInstance(), subElements_getNonPageRecords(), and subElements_renderItem().
| tx_version_cm1::subElements_getNonPageRecords | ( | $ | tN, |
| $ | uid, | ||
| &$ | recList | ||
| ) |
Select records from a table and add them to recList
| string | Table name (from TCA) |
| integer | PID to select records from |
| array | Array where records are accumulated, passed by reference |
Definition at line 1364 of file index.php.
References $GLOBALS, $TCA, and t3lib_BEfunc\deleteClause().
Referenced by subElements().
| 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) |
Definition at line 1394 of file index.php.
References $TCA.
Referenced by subElements().
| tx_version_cm1::versioningMgm | ( | ) |
Management of versions for record
Definition at line 389 of file index.php.
References $content, $GLOBALS, $row, $TCA, t3lib_div\_POST(), adminLinks(), t3lib_BEfunc\editOnClick(), t3lib_TCEforms\getHiddenTokenField(), t3lib_BEfunc\getProcessedValue(), t3lib_BEfunc\getRecord(), t3lib_BEfunc\getRecordTitle(), t3lib_iconWorks\getSpriteIcon(), t3lib_iconWorks\getSpriteIconForRecord(), t3lib_div\inList(), t3lib_div\loadTCA(), t3lib_div\makeInstance(), pageSubContent(), and t3lib_BEfunc\selectVersionsOfRecord().
Referenced by main().
| tx_version_cm1::versionsInOtherWS | ( | $ | table, |
| $ | uid | ||
| ) |
| tx_version_cm1::workspaceMgm | ( | ) |
Management of workspace for page ID Called when $this->id is set.
Definition at line 697 of file index.php.
References $GLOBALS, displayWorkspaceOverview(), and publishAction().
Referenced by main().
| tx_version_cm1::$content |
Generally used for accumulating the output content of backend modules
Reimplemented from t3lib_SCbase.
Definition at line 111 of file index.php.
Referenced by pageSubContent(), and versioningMgm().
| tx_version_cm1::$doc |
Reimplemented from t3lib_SCbase.
| 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::$pageModule = '' |
Definition at line 119 of file index.php.
Referenced by adminLinks().
1.7.5.1