PKPNotificationOperationManager::formatNotifications PHP Method

formatNotifications() private method

* Return a string of formatted notifications for display
private formatNotifications ( $request, $notifications, $notificationTemplate = 'notification/notification.tpl' )
$request PKPRequest
$notifications object DAOResultFactory
$notificationTemplate string optional Template to use for constructing an individual notification for display
    private function formatNotifications($request, $notifications, $notificationTemplate = 'notification/notification.tpl')
    {
        $notificationString = '';
        // Build out the notifications based on their associated objects and format into a string
        while ($notification = $notifications->next()) {
            $notificationString .= $this->formatNotification($request, $notification, $notificationTemplate);
        }
        return $notificationString;
    }