Re: event hook for plugin configuration save?
Posted: Mon Jun 13, 2005 3:38 pm
There'd be two ways to do that:
1. Use PEAR::Cache_Lite to only parse the key/value pairs once in frontend_display and then fetch the return array to operate on
2. Serialize the result of your variable munging into an array and then store that array via set_config which you can then later user
Apart from that, your Plugin will also improve pretty much when using the entryproperties caching; then it will parse your glossary/definitions only once per entry and the next time only when you modify the entry.
Regards,
Garvin
1. Use PEAR::Cache_Lite to only parse the key/value pairs once in frontend_display and then fetch the return array to operate on
2. Serialize the result of your variable munging into an array and then store that array via set_config which you can then later user
Apart from that, your Plugin will also improve pretty much when using the entryproperties caching; then it will parse your glossary/definitions only once per entry and the next time only when you modify the entry.
Regards,
Garvin