src/ShopBundle/mappers/WizardStep/TCMSWizardStepMapper_UserProfile.class.php
protected function GetMessageForField($sFieldName, $aFieldMessages)
    {
        $sMessage = '';
        if (is_array($aFieldMessages) && isset($aFieldMessages[$sFieldName])) {
            $sMessage = $aFieldMessages[$sFieldName];
        }

        return $sMessage;
    }
protected function GetMessageForField($sFieldName, $aFieldMessages)
    {
        $sMessage = '';
        if (is_array($aFieldMessages) && isset($aFieldMessages[$sFieldName])) {
            $sMessage = $aFieldMessages[$sFieldName];
        }

        return $sMessage;
    }
protected function GetMessageForField ( $ sFieldName , $ aFieldMessages ) { $ sMessage = '' ; if ( is_array ( $ aFieldMessages ) && isset ( $ aFieldMessages [ $ sFieldName ] ) ) { $ sMessage = $ aFieldMessages [ $ sFieldName ] ; } return $ sMessage ; }
Get field message for given field in given array.

@param string $sFieldName
@param array  $aFieldMessages

@return string
Get field message for given field in given array .