Gen Options v1.1.0b For CodeIgniter 2.1 |
[eluser]Spelljack[/eluser]
Hello, This is my first library sharing. So please be gentle What is Gen Options? Gen Options is a CodeIgniter library that helps you to store your scripts' options in database and let you to easyly access them. Code: <?php as simply as that. For more information please visit my repository's Wiki. Changelog: * Fixed some errors. * __set() method now updates loaded options. * Comments are now in english. * Added Method Chaining. * Methods are modified. Download from BitBucket Repository
[eluser]Aken[/eluser]
Nice library! A couple suggestions after a quick glance: 1) You should have a copy in English, since that's the most universal programming language, and any non-Turkish speakers are left out. 2) Your __set() method should also add the item to the options data array, so it can be used after its added. 3) In your model, I would either remove the construct() method, or add parent::__construct() to it. Pretty clean, though. Thanks for contributing.
[eluser]Spelljack[/eluser]
[quote author="Aken" date="1329958557"]Nice library! A couple suggestions after a quick glance: 1) You should have a copy in English, since that's the most universal programming language, and any non-Turkish speakers are left out. 2) Your __set() method should also add the item to the options data array, so it can be used after its added. 3) In your model, I would either remove the construct() method, or add parent::__construct() to it. Pretty clean, though. Thanks for contributing. [/quote] I'm hiding in corner I think I was pretty hasty about sharing this library. I fixed alot of errors including the thinks that you said. Now it is fully working.
[eluser]Sire[/eluser]
Love the idea, thanks for sharing. I'll give it a spin sometime soon.
|
Welcome Guest, Not a member yet? Register Sign In |