Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
components
notification
FileLogNotificator.php
1
<?php
2
/**
3
* Gentics Portal.Node PHP
4
* Author & Copyright (c) by Gentics Software GmbH
5
* sales@gentics.com
6
* http://www.gentics.com
7
* Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8
* You must not use this software without a valid license agreement.
9
*
10
* Notificator. Works with Notification manager
11
* Write all notification to text file
12
*/
13
class
FileLogNotificator
extends
Notificator
14
{
15
16
/**
17
* Write all notification to file
18
*
19
* @param Notification $notification occurred notification
20
*
21
* @return void
22
*/
23
public
function
notify
(
Notification
$notification)
24
{
25
Yii::log(print_r($notification->recipients,
true
) .
"\n"
. $notification->subject .
': '
. $notification->message, CLogger::LEVEL_PROFILE,
'FileLogNotificator'
);
26
}
27
}
Generated on Thu Feb 6 2014 15:47:54 for Gentics Portal.Node PHP API by
1.8.1.2