public function run() { parent::run(); if (!empty($this->ajaxOptions)) { $this->registerAjaxScript(); } }