| | |
| | | protected $type = 'text'; |
| | | protected $allowed = array('type','name','value','size','tabindex', |
| | | 'autocomplete','checked','onchange','onclick','disabled','readonly', |
| | | 'spellcheck','results','maxlength','src'); |
| | | 'spellcheck','results','maxlength','src','multiple'); |
| | | |
| | | /** |
| | | * Object constructor |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Get HTML code for this object |
| | | * |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Jump to next row |
| | | * |
| | |
| | | { |
| | | return count($this->rows); |
| | | } |
| | | |
| | | /** |
| | | * Remove table body (all rows) |
| | | */ |
| | | public function remove_body() |
| | | { |
| | | $this->rows = array(); |
| | | $this->rowindex = 0; |
| | | } |
| | | |
| | | } |
| | | |