Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
FileLogNotificator Class Reference
Inheritance diagram for FileLogNotificator:
Notificator

Public Member Functions

 notify (Notification $notification)

Detailed Description

Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales.nosp@m.@gen.nosp@m.tics..nosp@m.com http://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.

Notificator. Works with Notification manager Write all notification to text file

Definition at line 13 of file FileLogNotificator.php.

Member Function Documentation

FileLogNotificator::notify ( Notification  $notification)

Write all notification to file

Parameters
Notification$notificationoccurred notification
Returns
void

Reimplemented from Notificator.

Definition at line 23 of file FileLogNotificator.php.

{
Yii::log(print_r($notification->recipients, true) . "\n" . $notification->subject . ': ' . $notification->message, CLogger::LEVEL_PROFILE, 'FileLogNotificator');
}

The documentation for this class was generated from the following file: