/**
  * Constructor
  * @return  void
  */
 protected function __construct()
 {
     $fields = array('tool_enable' => 'boolean', 'hostAddress' => 'text', 'username' => 'text', 'password' => 'text', 'from' => 'text');
     $smsTypeOptions = $this->getSmsTypeOptions();
     foreach ($smsTypeOptions as $smsTypeOption) {
         $fields[$smsTypeOption] = 'checkbox';
     }
     parent::__construct('0.1', 'Imanol Losada', $fields);
 }
 /**
  * Constructor
  * @return  void
  */
 public function __construct()
 {
     $fields = array('tool_enable' => 'boolean', 'api_key' => 'text');
     $smsTypeOptions = $this->getSmsTypeOptions();
     foreach ($smsTypeOptions as $smsTypeOption) {
         $fields[$smsTypeOption] = 'checkbox';
     }
     parent::__construct('0.1', 'Imanol Losada', $fields);
 }