TYPO3
7.6
|
Public Member Functions | |
setWorkspace ($workspace) | |
getWorkspace () | |
getDataHandler () | |
createNewDependentElementChildReferenceCallback (array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) | |
createNewDependentElementParentReferenceCallback (array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) | |
createClearDependentElementChildReferenceCallback (array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) | |
createClearDependentElementParentReferenceCallback (array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) | |
createNewDependentElementCallback (array $callerArguments, array $targetArgument, ElementEntity $caller, $eventName) | |
Protected Attributes | |
$workspace | |
$dataHandler | |
Processor having generic callback methods for element entities
Definition at line 24 of file ElementEntityProcessor.php.
createClearDependentElementChildReferenceCallback | ( | array | $callerArguments, |
array | $targetArgument, | ||
ElementEntity | $caller, | ||
$eventName | |||
) |
Callback to determine whether a new child reference shall be considered in the dependency resolver utility. Only elements that are a delete placeholder are considered.
array | $callerArguments | |
array | $targetArgument | |
ElementEntity | $caller | |
string | $eventName |
Definition at line 130 of file ElementEntityProcessor.php.
References $response, Enumeration\cast(), ElementEntityProcessor\createNewDependentElementChildReferenceCallback(), VersionState\DELETE_PLACEHOLDER, BackendUtility\getRecord(), and ElementEntity\RESPONSE_Skip.
createClearDependentElementParentReferenceCallback | ( | array | $callerArguments, |
array | $targetArgument, | ||
ElementEntity | $caller, | ||
$eventName | |||
) |
Callback to determine whether a new parent reference shall be considered in the dependency resolver utility. Only elements that are a delete placeholder are considered.
array | $callerArguments | |
array | $targetArgument | |
ElementEntity | $caller | |
string | $eventName |
Definition at line 152 of file ElementEntityProcessor.php.
References $response, Enumeration\cast(), ElementEntityProcessor\createNewDependentElementParentReferenceCallback(), VersionState\DELETE_PLACEHOLDER, BackendUtility\getRecord(), and ElementEntity\RESPONSE_Skip.
createNewDependentElementCallback | ( | array | $callerArguments, |
array | $targetArgument, | ||
ElementEntity | $caller, | ||
$eventName | |||
) |
Callback to add additional data to new elements created in the dependency resolver utility.
\RuntimeException |
ElementEntity | $caller | |
array | $callerArguments | |
array | $targetArgument | |
string | $eventName |
Definition at line 174 of file ElementEntityProcessor.php.
References elseif, ElementEntity\getId(), ElementEntity\getRecord(), ElementEntity\getTable(), ElementEntityProcessor\getWorkspace(), BackendUtility\getWorkspaceVersionOfRecord(), ElementEntity\hasDataValue(), BackendUtility\isTableWorkspaceEnabled(), ElementEntity\setDataValue(), ElementEntity\setId(), and ElementEntity\setInvalid().
createNewDependentElementChildReferenceCallback | ( | array | $callerArguments, |
array | $targetArgument, | ||
ElementEntity | $caller, | ||
$eventName | |||
) |
Callback to determine whether a new child reference shall be considered in the dependency resolver utility.
array | $callerArguments | |
array | $targetArgument | |
ElementEntity | $caller | |
string | $eventName |
Definition at line 93 of file ElementEntityProcessor.php.
References ElementEntityProcessor\getDataHandler(), ElementEntity\getTable(), BackendUtility\getTcaFieldConfiguration(), GeneralUtility\inList(), and ElementEntity\RESPONSE_Skip.
Referenced by ElementEntityProcessor\createClearDependentElementChildReferenceCallback().
createNewDependentElementParentReferenceCallback | ( | array | $callerArguments, |
array | $targetArgument, | ||
ElementEntity | $caller, | ||
$eventName | |||
) |
Callback to determine whether a new parent reference shall be considered in the dependency resolver utility.
array | $callerArguments | |
array | $targetArgument | |
\TYPO3\CMS\Version\Dependency\ElementEntity | $caller | |
string | $eventName |
Definition at line 111 of file ElementEntityProcessor.php.
References ElementEntityProcessor\getDataHandler(), BackendUtility\getTcaFieldConfiguration(), GeneralUtility\inList(), and ElementEntity\RESPONSE_Skip.
Referenced by ElementEntityProcessor\createClearDependentElementParentReferenceCallback().
getDataHandler | ( | ) |
Definition at line 59 of file ElementEntityProcessor.php.
References ElementEntityProcessor\$dataHandler, and GeneralUtility\makeInstance().
Referenced by ElementEntityProcessor\createNewDependentElementChildReferenceCallback(), and ElementEntityProcessor\createNewDependentElementParentReferenceCallback().
getWorkspace | ( | ) |
Gets the current workspace.
Definition at line 51 of file ElementEntityProcessor.php.
References ElementEntityProcessor\$workspace.
Referenced by ElementEntityProcessor\createNewDependentElementCallback().
setWorkspace | ( | $workspace | ) |
Sets the current workspace.
int | $workspace |
Definition at line 41 of file ElementEntityProcessor.php.
References ElementEntityProcessor\$workspace.
|
protected |
Definition at line 34 of file ElementEntityProcessor.php.
Referenced by ElementEntityProcessor\getDataHandler().
|
protected |
Definition at line 29 of file ElementEntityProcessor.php.
Referenced by ElementEntityProcessor\getWorkspace(), and ElementEntityProcessor\setWorkspace().