public function init($default = null)
    {
        //$this->model = $this->getModel();
        if (!isset($default)) {
            //$this->value = $this->model->value;
            if (empty($this->dataInDB)) {
                $this->value = $this->getOption('default');
            } else {
                $this->value =  $this->dataInDB;
            }
        } else {
            $this->value = $default['value'];
        }
    }