src/ShopArticleReviewBundle/objects/db/TPkgShopArticleReviewShopArticleReview.class.php
protected function GetSendReviewCommentNotificationEmail()
    {
        $sSendReviewCommentNotificationEmail = '';
        if (!empty($this->fieldAuthorEmail)) {
            $sSendReviewCommentNotificationEmail = $this->fieldAuthorEmail;
        } elseif (!empty($this->fieldDataExtranetUserId)) {
            $oAuthor = TdbDataExtranetUser::GetNewInstance();
            if ($oAuthor->Load($this->fieldDataExtranetUserId)) {
                $sSendReviewCommentNotificationEmail = $oAuthor->GetUserEMail();
            }
        }

        return $sSendReviewCommentNotificationEmail;
    }
protected function GetSendReviewCommentNotificationEmail()
    {
        $sSendReviewCommentNotificationEmail = '';
        if (!empty($this->fieldAuthorEmail)) {
            $sSendReviewCommentNotificationEmail = $this->fieldAuthorEmail;
        } elseif (!empty($this->fieldDataExtranetUserId)) {
            $oAuthor = TdbDataExtranetUser::GetNewInstance();
            if ($oAuthor->Load($this->fieldDataExtranetUserId)) {
                $sSendReviewCommentNotificationEmail = $oAuthor->GetUserEMail();
            }
        }

        return $sSendReviewCommentNotificationEmail;
    }
protected function GetSendReviewCommentNotificationEmail ( ) { $ sSendReviewCommentNotificationEmail = '' ; if ( ! empty ( $ this -> fieldAuthorEmail ) ) { $ sSendReviewCommentNotificationEmail = $ this -> fieldAuthorEmail ; } elseif ( ! empty ( $ this -> fieldDataExtranetUserId ) ) { $ oAuthor = TdbDataExtranetUser :: GetNewInstance ( ) ; if ( $ oAuthor -> Load ( $ this -> fieldDataExtranetUserId ) ) { $ sSendReviewCommentNotificationEmail = $ oAuthor -> GetUserEMail ( ) ; } } return $ sSendReviewCommentNotificationEmail ; }
Get owner email for comment notification.

@return string|null
Get owner email for comment notification .