Class humhub\modules\activity\components\MailSummaryProcessor

Inheritancehumhub\modules\activity\components\MailSummaryProcessor
Available since version1.2

MailSummaryProcessor is called by cron on given intervals (daily or hourly) and creates mail summaries from the users.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
process() Processes mail summary for given interval humhub\modules\activity\components\MailSummaryProcessor

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
checkUser() Checks if a e-mail summary should be send to the user humhub\modules\activity\components\MailSummaryProcessor

Method Details

checkUser() protected static method

Checks if a e-mail summary should be send to the user

protected static boolean checkUser ( humhub\modules\user\models\User $user, $interval )
$user humhub\modules\user\models\User
$interval integer
process() public static method

Processes mail summary for given interval

public static void process ( $interval )
$interval integer