activityReport->addGroup('kutrl',__('Plugin kUtRL')); # from BEHAVIOR kutrlAfterCreateShortUrl in kUtRL/inc/lib.kutrl.srv.php $core->activityReport->addAction( 'kutrl', 'create', __('Short link creation'), __('New short link of type "%s" and hash "%s" was created.'), 'kutrlAfterCreateShortUrl', array('kutrlActivityReportBehaviors','kutrlCreate') ); class kutrlActivityReportBehaviors { public static function kutrlCreate($rs) { $logs = array($rs->type,$rs->hash); $GLOBALS['core']->activityReport->addLog('kutrl','create',$logs); } } ?>