Notifier::sendNotifcationForPerson ( person  ) 

returns: number of changes since notification_last 0 - if nothing happend and no mail has been send

person->last_notification is NOT been updated

NOTE some tips used from Jon Webb [Madrid&London] http://www.php.net/manual/en/ref.mail.php#61644

remove script name if clean urls.

temporary overwrite the current-user to obey item-visibility MUST BE RESET BEFORE LEAVING THIS FUNCTION!

@@ bug: this contains internal links that can be viewed from mail

using some t

NOTE: capturing error-output of mail is done in errorhandler.inc, it sets the global variable $g_error_mail

Definition at line 71 of file mail.inc.php.

References DbProjectItem::getById(), ChangeLine::getChangeLinesForPerson(), DbProjectItem::getObjectById(), Task::getVisibleById(), Person::getVisibleById(), DbProjectItem::getVisibleById(), and Project::getVisibleById().

Referenced by sendNotifications().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Mar 4 17:19:58 2007 for streber by  doxygen 1.5.1-p1