/** * Callback to get common properties of dependent elements for staging. * * @param t3lib_utility_Dependency_Element $element * @return array */ protected function getCommonSetStagePropertiesCallback(t3lib_utility_Dependency_Element $element) { $commonSetStageProperties = array(); $elementProperties = $element->getDataValue('properties'); if (isset($elementProperties['stageId'])) { $commonSetStageProperties['stageId'] = $elementProperties['stageId']; } if (isset($elementProperties['comment'])) { $commonSetStageProperties['comment'] = $elementProperties['comment']; } if (isset($elementProperties['action'])) { $commonSetStageProperties['action'] = $elementProperties['action']; } if (isset($elementProperties['notificationAlternativeRecipients'])) { $commonSetStageProperties['notificationAlternativeRecipients'] = $elementProperties['notificationAlternativeRecipients']; } return $commonSetStageProperties; }