src/ShopBundle/objects/db/TShopOrder.class.php
protected function AddOrderNotificationEmailDataArray($aMailData, $oNameObject, $sSaveFieldName)
    {
        $aMailData[$sSaveFieldName] = '';
        if (!is_null($oNameObject)) {
            $aMailData[$sSaveFieldName] = $oNameObject->GetName();
        }

        return $aMailData;
    }
protected function AddOrderNotificationEmailDataArray($aMailData, $oNameObject, $sSaveFieldName)
    {
        $aMailData[$sSaveFieldName] = '';
        if (!is_null($oNameObject)) {
            $aMailData[$sSaveFieldName] = $oNameObject->GetName();
        }

        return $aMailData;
    }
protected function AddOrderNotificationEmailDataArray ( $ aMailData , $ oNameObject , $ sSaveFieldName ) { $ aMailData [ $ sSaveFieldName ] = '' ; if ( ! is_null ( $ oNameObject ) ) { $ aMailData [ $ sSaveFieldName ] = $ oNameObject -> GetName ( ) ; } return $ aMailData ; }
add name value from given object to given array with given field name as key if object is not null.

@param array      $aMailData
@param TCMSRecord $oNameObject
@param string     $sSaveFieldName

@return array
add name value from given object to given array with given field name as key if object is not null .