View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007179 | OXID eShop (all versions) | 4. ------ eShop Core ------- | public | 2020-10-05 10:56 | 2020-10-05 13:06 |
Reporter | s.diez | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 6.2.2 | ||||
Summary | 0007179: Private Functions in Core/Email | ||||
Description | In 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 - | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||