00001 <?php 00002 00003 namespace Habari; 00004 00008 class FormControlWrapper extends FormContainer 00009 { 00013 public function _extend() 00014 { 00015 $this->settings['ignore_name'] = true; 00016 $this->set_settings(array( 00017 'ignore_name' => true, 00018 )); 00019 } 00020 00026 public function get(Theme $theme) 00027 { 00028 $this->vars['element'] = $this->get_setting('wrap_element', 'div'); 00029 return parent::get($theme); 00030 } 00031 } 00032 00033 ?>