/** * Render a hidden input, a text input with an auto-complete * event, and a select button. These three items together * form the Template Editable Element * @return The element's content as a string. */ protected function renderControlEditable() { assert('$this->model->{$this->attribute} instanceof ProductTemplate'); return parent::renderControlEditable(); }
/** * Render a hidden input, a text input with an auto-complete * event, and a select button. These three items together * form the Agreement Editable Element * @return The element's content as a string. */ protected function renderControlEditable() { assert('$this->model->{$this->attribute} instanceof Agreement'); return parent::renderControlEditable(); }