TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Version\View\VersionView Class Reference
Inheritance diagram for TYPO3\CMS\Version\View\VersionView:
tx_version_gui

Public Member Functions

 getVersionSelector ($id, $noAction=FALSE)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Contains some parts for staging, versioning and workspaces to interact with the TYPO3 Core Engine

Definition at line 21 of file VersionView.php.

Member Function Documentation

◆ getVersionSelector()

TYPO3\CMS\Version\View\VersionView::getVersionSelector (   $id,
  $noAction = FALSE 
)

Creates the version selector for the page id inputted. Moved out of the core file

Parameters
integer$idPage id to create selector for.
boolean$noActionIf set, there will be no button for swapping page.
Returns
void
See also

Definition at line 32 of file VersionView.php.

References $GLOBALS, and TYPO3\CMS\Backend\Utility\BackendUtility\selectVersionsOfRecord().