Piwik\Settings\Storage\Backend\BackendInterface::save PHP Метод

save() публичный Метод

Saves (persists) the current setting values in the database. Always all values that belong to a group of settings or backend needs to be passed. Usually existing values will be deleted and new values will be saved
public save ( array $values )
$values array An array of key value pairs where $settingName => $settingValue. Eg array('settingName1' > 'settingValue1')
    public function save($values);

Usage Example

Пример #1
0
 /**
  * Saves (persists) the current setting values in the database.
  */
 public function save($values)
 {
     $this->backend->save($values);
     self::clearCache();
 }