![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
getRecordLocalizeSummary (ServerRequestInterface $request, ResponseInterface $response) | |
getRecordUidsToCopy (ServerRequestInterface $request, ResponseInterface $response) | |
Protected Member Functions | |
getRecordsToCopyDatabaseResult ($pageId, $colPos, $languageId, $fields= '*') | |
getBackendUser () | |
getDatabaseConnection () | |
Protected Attributes | |
$iconFactory | |
LocalizationController handles the AJAX requests for record localization
Definition at line 29 of file LocalizationController.php.
__construct | ( | ) |
Constructor
Definition at line 39 of file LocalizationController.php.
References GeneralUtility\makeInstance().
|
protected |
Returns the current BE user.
Definition at line 286 of file LocalizationController.php.
References $GLOBALS.
|
protected |
Returns the database connection
Definition at line 296 of file LocalizationController.php.
References $GLOBALS.
Referenced by LocalizationController\getRecordLocalizeSummary(), LocalizationController\getRecordsToCopyDatabaseResult(), and LocalizationController\getRecordUidsToCopy().
getRecordLocalizeSummary | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Get a prepared summary of records being translated
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 133 of file LocalizationController.php.
References $GLOBALS, $response, MessageInterface\getBody(), LocalizationController\getDatabaseConnection(), ServerRequestInterface\getQueryParams(), LocalizationController\getRecordsToCopyDatabaseResult(), Icon\SIZE_SMALL, and ResponseInterface\withStatus().
|
protected |
Get records for copy process
int | $pageId | |
int | $colPos | |
int | $languageId | |
string | $fields |
Definition at line 266 of file LocalizationController.php.
References BackendUtility\deleteClause(), LocalizationController\getDatabaseConnection(), and BackendUtility\versioningPlaceholderClause().
Referenced by LocalizationController\getRecordLocalizeSummary(), and LocalizationController\getRecordUidsToCopy().
getRecordUidsToCopy | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
ServerRequestInterface | $request | |
ResponseInterface | $response |
Definition at line 162 of file LocalizationController.php.
References $response, MessageInterface\getBody(), LocalizationController\getDatabaseConnection(), ServerRequestInterface\getQueryParams(), LocalizationController\getRecordsToCopyDatabaseResult(), and ResponseInterface\withStatus().
|
protected |
Definition at line 34 of file LocalizationController.php.