public function getRelationFieldName() {
        if ($relationFieldId = $this->getRelationFieldId()) {
            $names = $this->getRespondentTrack()->getTrackEngine()->getFieldNames();
            $fieldPrefix = \Gems\Tracker\Model\FieldMaintenanceModel::FIELDS_NAME . \Gems\Tracker\Engine\FieldsDefinition::FIELD_KEY_SEPARATOR;
            $key = $fieldPrefix . $relationFieldId;

            return array_key_exists($key, $names) ? lcfirst($names[$key]) : null;
        }

        return null;
    }
public function getRelationFieldName() {
        if ($relationFieldId = $this->getRelationFieldId()) {
            $names = $this->getRespondentTrack()->getTrackEngine()->getFieldNames();
            $fieldPrefix = \Gems\Tracker\Model\FieldMaintenanceModel::FIELDS_NAME . \Gems\Tracker\Engine\FieldsDefinition::FIELD_KEY_SEPARATOR;
            $key = $fieldPrefix . $relationFieldId;

            return array_key_exists($key, $names) ? lcfirst($names[$key]) : null;
        }

        return null;
    }
public function getRelationFieldName ( ) { if ( $ relationFieldId = $ this -> getRelationFieldId ( ) ) { $ names = $ this -> getRespondentTrack ( ) -> getTrackEngine ( ) -> getFieldNames ( ) ; $ fieldPrefix = \ Gems \ Tracker \ Model \ FieldMaintenanceModel :: FIELDS_NAME . \ Gems \ Tracker \ Engine \ FieldsDefinition :: FIELD_KEY_SEPARATOR ; $ key = $ fieldPrefix . $ relationFieldId ; return array_key_exists ( $ key , $ names ) ? lcfirst ( $ names [ $ key ] ) : null ; } return null ; }
Get the name of the relationfield for this token

@return string
Get the name of the relationfield for this token