The source is available to download in two files:
- manage_sld.class.phps
- The main class
ManageSLD
plus the default memory-bases storageRuleStoreSLD
. - nosqlite_store.class.phps
- An example database integration (using
noSqlite
, a lightweight noSQL database). The storage classNosqliteRuleStoreSLD
extendsRuleStoreSLD
in order to use it as a cache. When writing to it an explicitRuleStoreSLD::save
is required, which actually saves the rules, and also (optuionally), the meta data about the load from the Public Suffix list.