protected function renderControlEditable() { $this->renderSearchScript(); $content = '<button type="button" class="global-search-loopa" aria-haspopup="true"><span></span></button>'; $content .= parent::renderControlEditable(); return $content; }
/** * Override to ensure the attributeName is anyMixedAttributes */ protected function renderControlEditable() { assert('$this->model instanceof SearchForm'); assert('$this->attribute = "anyMixedAttributes"'); $content = $this->renderSearchScopingInputContent(); $content .= parent::renderControlEditable(); $this->renderEditableScripts(); return $content; }