[dev] Exclude preferences from being stored

Vilius Šumskas vilius at lnk.lt
Thu May 14 12:27:48 UTC 2009


> Anyway a flag if the preference should be stored in the backend would
> be nice...

I'm not very familiar with the structure of $_prefs array in the driver, but AFAIK this is easily done. Add lines like:

If (this->_prefs[$pref]['save'] == true) { return false; }

To setValue() in Prefs.php.

This way you could use 'save' => true in prefs.php

-- 
  Vilius



More information about the dev mailing list