Свойство | Тип | Описание | |
---|---|---|---|
$recordService | FluidTYPO3\Flux\Service\RecordService | ||
$workspacesAwareRecordService | FluidTYPO3\Flux\Service\WorkspacesAwareRecordService |
Метод | Описание | |
---|---|---|
affectRecordByRequestParameters ( mixed $id, array &$row, array $parameters, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
fixPositionInLocalization ( integer $uid, integer $languageUid, array &$defaultLanguageRecord, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) | ||
initializeRecord ( String $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
injectRecordService ( FluidTYPO3\Flux\Service\RecordService $recordService ) : void | ||
injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void | ||
moveRecord ( array &$row, string &$relativeTo, array $parameters, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | Move the content element depending on various request/row parameters. | |
pasteAfter ( string $command, array &$row, array $parameters, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | Paste one record after another record. |
Метод | Описание | |
---|---|---|
applyMappingArray ( array $mappingArray, integer $pid, integer $colPos, string $area, integer $parentUid, string $table, integer $relativeUid, array | null $relativeRecord, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
createMappingArray ( string $command, string $subCommand, integer $id, array $row, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : array | ||
getMovePlaceholder ( integer $recordUid ) : array | ||
getPreviousLocalizedRecordUid ( integer $uid, integer $language, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : integer | Returning uid of previous localized record, if any, for tables with a "sortby" column Used when new localized records are created so that localized records are sorted in the same order as the default language records | |
getTargetAreaStoredInSession ( integer $relativeTo ) : array | ||
initializeRecordByNewAndOldAndLanguageUids ( array $row, integer $newUid, integer $oldUid, integer $newLanguageUid, string $languageFieldName, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) | ||
loadRecordFromDatabase ( integer $uid, integer $languageUid ) : array | null | ||
loadRecordsFromDatabase ( integer $parentUid ) : array | null | ||
updateMovePlaceholder ( array $row ) : void | ||
updateRecordInDatabase ( array $row, integer $uid = NULL ) : void |
protected applyMappingArray ( array $mappingArray, integer $pid, integer $colPos, string $area, integer $parentUid, string $table, integer $relativeUid, array | null $relativeRecord, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
$mappingArray | array | |
$pid | integer | |
$colPos | integer | |
$area | string | |
$parentUid | integer | |
$table | string | |
$relativeUid | integer | |
$relativeRecord | array | null | |
$tceMain | TYPO3\CMS\Core\DataHandling\DataHandler | |
Результат | void |
public fixPositionInLocalization ( integer $uid, integer $languageUid, array &$defaultLanguageRecord, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) | ||
$uid | integer | uid of record in default language |
$languageUid | integer | sys_language_uid of language for the localized record |
$defaultLanguageRecord | array | record in default language (from table tt_content) |
$reference | TYPO3\CMS\Core\DataHandling\DataHandler |
protected getMovePlaceholder ( integer $recordUid ) : array | ||
$recordUid | integer | |
Результат | array |
protected getPreviousLocalizedRecordUid ( integer $uid, integer $language, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : integer | ||
$uid | integer | Uid of default language record |
$language | integer | Language of localization |
$reference | TYPO3\CMS\Core\DataHandling\DataHandler | |
Результат | integer | uid of record after which the localized record should be inserted |
protected getTargetAreaStoredInSession ( integer $relativeTo ) : array | ||
$relativeTo | integer | |
Результат | array |
public initializeRecord ( String $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
$id | String | |
$row | array | |
$tceMain | TYPO3\CMS\Core\DataHandling\DataHandler | |
Результат | void |
protected initializeRecordByNewAndOldAndLanguageUids ( array $row, integer $newUid, integer $oldUid, integer $newLanguageUid, string $languageFieldName, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) | ||
$row | array | |
$newUid | integer | |
$oldUid | integer | |
$newLanguageUid | integer | |
$languageFieldName | string | |
$tceMain | TYPO3\CMS\Core\DataHandling\DataHandler |
public injectRecordService ( FluidTYPO3\Flux\Service\RecordService $recordService ) : void | ||
$recordService | FluidTYPO3\Flux\Service\RecordService | |
Результат | void |
public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void | ||
$workspacesAwareRecordService | FluidTYPO3\Flux\Service\WorkspacesAwareRecordService | |
Результат | void |
public moveRecord ( array &$row, string &$relativeTo, array $parameters, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
$row | array | The row which may, may not, trigger moving. |
$relativeTo | string | If not-zero moves record to after this UID (negative) or top of this colPos (positive) |
$parameters | array | List of parameters defining the move operation target |
$tceMain | TYPO3\CMS\Core\DataHandling\DataHandler | |
Результат | void |
public pasteAfter ( string $command, array &$row, array $parameters, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void | ||
$command | string | The command which caused pasting - "copy" is targeted in order to determine "reference" pasting. |
$row | array | The record to be pasted, by reference. Changes original $row |
$parameters | array | List of parameters defining the paste operation target |
$tceMain | TYPO3\CMS\Core\DataHandling\DataHandler | |
Результат | void |
protected updateMovePlaceholder ( array $row ) : void | ||
$row | array | |
Результат | void |
protected RecordService,FluidTYPO3\Flux\Service $recordService | ||
Результат | FluidTYPO3\Flux\Service\RecordService |