Welcome Guest, Not a member yet? Register   Sign In
Database based Config library
#5

[eluser]Phil Sturgeon[/eluser]
This is why I keep Config and "Settings" separate. They are logically different things and combining them gets messy.

By renaming to $this->settings you can use item() and set_item() just like the Config library, instead of using names like save_db_item() which to me looks dirty.

Good coding though. :-)


Messages In This Thread
Database based Config library - by El Forum - 10-11-2009, 12:53 PM
Database based Config library - by El Forum - 11-18-2009, 01:58 AM
Database based Config library - by El Forum - 11-18-2009, 02:19 AM
Database based Config library - by El Forum - 11-18-2009, 02:22 AM
Database based Config library - by El Forum - 11-18-2009, 02:39 AM
Database based Config library - by El Forum - 11-18-2009, 02:45 AM
Database based Config library - by El Forum - 11-18-2009, 02:52 AM
Database based Config library - by El Forum - 11-18-2009, 03:28 AM
Database based Config library - by El Forum - 11-18-2009, 03:31 AM
Database based Config library - by El Forum - 11-18-2009, 03:52 AM
Database based Config library - by El Forum - 11-18-2009, 03:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB