| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 24 | 
| Code Lines | 17 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 5 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php | ||
| 36 | public function render() | ||
| 37 |     { | ||
| 38 | $ret = "<input type='text' name='" . | ||
| 39 | $this->getName() . | ||
|  | |||
| 40 | "' id='" . | ||
| 41 | $this->getName() . | ||
| 42 | "' size='" . | ||
| 43 | $this->getSize() . | ||
| 44 | "' maxlength='" . | ||
| 45 | $this->getMaxlength() . | ||
| 46 | "' value='" . | ||
| 47 | $this->getValue() . | ||
| 48 | "'" . | ||
| 49 | $this->getExtra() . | ||
| 50 | ' />'; | ||
| 51 | |||
| 52 | $ret .= ' <div class="smartobject_autocomplete_hint" id="smartobject_autocomplete_hint' . $this->getName() . '"></div> | ||
| 53 | |||
| 54 | <script type="text/javascript"> | ||
| 55 |         new Ajax.Autocompleter("' . $this->getName() . '","smartobject_autocomplete_hint' . $this->getName() . '","' . $this->_include_file . '?key=' . $this->getName() . '"); | ||
| 56 | </script>'; | ||
| 57 | |||
| 58 | return $ret; | ||
| 59 | } | ||
| 60 | } | ||
| 61 |