/** * Select2 demo action */ public function action_select2() { $select2 = new Select2(array("testval1" => "Test Entry #1", "testval2" => "Test Entry #2", "testval3" => "Test Entry #3"), 'testselect'); $this->renderHtml($select2->render()); }