View Issue Details

IDProjectCategoryView StatusLast Update
0007179OXID eShop (all versions)4. ------ eShop Core -------public2020-10-05 13:06
Reporters.diez Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.2.2 
Summary0007179: Private Functions in Core/Email
DescriptionIn Core/Email several functions are declared as private, which are needed by modules.

Email::getRenderer
This function is needed for every mail you want to send to render the mail body with Smarty/Twig. Even if this is only a help function which can be copied, I don't see any reason for private ones.

Email::shouldProductReviewLinksBeIncluded
Also only a help function but the reason for private is not clear to me.


Input from customer:
In Core/Email sind verschiedene Funktionen als private deklariert, die von Modulen benötigt werden.

Email::getRenderer
Diese Funktion wird quasi bei jeder Mail die man verschicken will benötigt, um den Mailbody mit Smarty/Twig rendern zu können. Auch wenn dies nur eine Hilfsfunktion ist, die nachgebaut werden kann, sehe ich keinen Grund für private.

Email::shouldProductReviewLinksBeIncluded
Auch nur eine Hilfsfunktion aber der Grund für private ist mir hier auch nicht klar.
Additional Information - es -
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.