getFriendlyNameOfDocumentEmail example

$node['name'] = $this->get('snippets')
                        ->getNamespace('backend/static/payment_status')
                        ->get($paymentStatus->getName());
                }
                $paymentNodes['data'][] = $node;
            } elseif ($mail->isSystemMail()) {
                $systemNodes['data'][] = $node;
            } elseif ($mail->isUserMail()) {
                $node['checked'] = false;
                $userNodes['data'][] = $node;
            } elseif ($mail->isDocumentMail()) {
                $node['name'] = $this->getFriendlyNameOfDocumentEmail($node['name']);
                $documentNodes['data'][] = $node;
            }
        }

        $statusNodes['data'][] = $paymentNodes;
        $statusNodes['data'][] = $orderNodes;

        $nodes[] = $statusNodes;
        $nodes[] = $systemNodes;
        $nodes[] = $userNodes;
        $nodes[] = $documentNodes;

        
Home | Imprint | This part of the site doesn't use cookies.