/** * Get a list of JavaScript files required to display the widget properly * * @return array */ public function getJSFiles() { $list = parent::getJSFiles(); // Static call of the non-static function $list[] = parent::getDir() . '/search/controller.js'; return $list; }