__get('activityReport')->addGroup('kutrl', __('Plugin kUtRL')); # from BEHAVIOR kutrlAfterCreateShortUrl in kUtRL/inc/lib.kutrl.srv.php dcCore::app()->__get('activityReport')->addAction( 'kutrl', 'create', __('Short link creation'), __('New short link of type "%s" and hash "%s" was created.'), 'kutrlAfterCreateShortUrl', function ($rs) { dcCore::app()->__get('activityReport')->addLog('kutrl', 'create', [$rs->type, $rs->hash]); } );