Model/Settings.php
public function save()
    {
        foreach ($this->data as $key => $value) {
            if (!empty($value)) {
                $this->parametersStorage->set($key, $value);
            } else {
                // Remove value to use default
                $this->parametersStorage->remove($key);
            }
        }
    }
public function save()
    {
        foreach ($this->data as $key => $value) {
            if (!empty($value)) {
                $this->parametersStorage->set($key, $value);
            } else {
                // Remove value to use default
                $this->parametersStorage->remove($key);
            }
        }
    }
public function save ( ) { foreach ( $ this -> data as $ key => $ value ) { if ( ! empty ( $ value ) ) { $ this -> parametersStorage -> set ( $ key , $ value ) ; } else { // Remove value to use default $ this -> parametersStorage -> remove ( $ key ) ; } } }
Save current model in the storage
Save current model in the storage