activityReport->addGroup('dcadvancedcleaner',__('Plugin dcAdvancedCleaner')); # from BEHAVIOR dcAdvancedCleanerBeforeAction # in dcAdvancedCleaner/inc/class.dc.advanced.cleaner.php $core->activityReport->addAction( 'dcadvancedcleaner', 'maintenance', __('Maintenance'), __('New action from dcAdvancedCleaner has been made with type="%s", action="%s", ns="%s".'), 'dcAdvancedCleanerBeforeAction', array('dcAdvancedCleanerActivityReportBehaviors','maintenance') ); class dcAdvancedCleanerActivityReportBehaviors { public static function maintenance($type,$action,$ns) { $logs = array($type,$action,$ns); $GLOBALS['core']->activityReport->addLog('dcadvancedcleaner','maintenance',$logs); } }