예제 #1
0
 /**
  * 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();
 }
예제 #2
0
 /**
  * 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();
 }