activityReport->addLog('dcadvancedcleaner', 'maintenance', [$type,$action, $ns]); } public static function add() { // This file is used with plugin activityReport dcCore::app()->activityReport->addGroup( 'dcadvancedcleaner', __('Plugin dcAdvancedCleaner') ); // from BEHAVIOR dcAdvancedCleanerBeforeAction // in dcAdvancedCleaner/inc/class.dc.advanced.cleaner.php dcCore::app()->activityReport->addAction( 'dcadvancedcleaner', 'maintenance', __('Maintenance'), __('New action from dcAdvancedCleaner has been made with type="%s", action="%s", ns="%s".'), 'dcAdvancedCleanerBeforeAction', ['dcAdvancedCleanerActivityReportBehaviors', 'maintenance'] ); } }