Gen Options v1.1.0b For CodeIgniter 2.1 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Gen Options v1.1.0b For CodeIgniter 2.1 (/showthread.php?tid=49507) |
Gen Options v1.1.0b For CodeIgniter 2.1 - El Forum - 02-22-2012 [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 Gen Options v1.1.0b For CodeIgniter 2.1 - El Forum - 02-22-2012 [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. Gen Options v1.1.0b For CodeIgniter 2.1 - El Forum - 02-23-2012 [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. Gen Options v1.1.0b For CodeIgniter 2.1 - El Forum - 02-24-2012 [eluser]Sire[/eluser] Love the idea, thanks for sharing. I'll give it a spin sometime soon. Gen Options v1.1.0b For CodeIgniter 2.1 - El Forum - 02-24-2012 [eluser]Spelljack[/eluser] Thank you. I am glad you like it |