'getJavaScriptFiles', // Add translations for the client side JS 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys', ); } /** * Add a custom JS to the page. It adds possibility to open visitor details popover for each * user ID in a report table * * @param $jsFiles */ public function getJavaScriptFiles(&$jsFiles) { $jsFiles[] = "plugins/UserId/javascripts/rowaction.js"; } /** * Add translations for the client side JS * * @param $translationKeys */ public function getClientSideTranslationKeys(&$translationKeys) { $translationKeys[] = "Live_ViewVisitorProfile"; } }