[eluser]Basketcasesoftware[/eluser]
Going off a suggestion by Phil Sturgeon in the "CodeIgniter Engineers" thread.
Lots of work here (mostly because I tried to comment the hell out of it!)
Kudos? Criticisms? Flames? Suggestions? Condolences? Fire away!
... Too big for the code block feature. Attaching as a file. Ouch!
If this forum doesn't stop being a pain in the proverbial about the attachment anyways.
Edit: Oh, by the way, I posted this without my usual rigorous testing. After hours of coding it I figured it needed fresher eyes and minds to spot basic typos and other minor bugs. I tried carefully proofing it as I went, but as I got more tired I was more likely to make mistakes. This is coming from a guy who at his peak years ago wrote 300+ debugged, every-line-commented, 8050 assembler code an hour... by hand. (shameless brag)
Edit: Patched the attached file for the one typo in the entire 14k file. 13 downloads and no one has commented on that error message yet. Or even asked where or how to install it. Strange.
Update: A substantially revised version is nearly complete. I just want to finish adequately commenting and testing it.
Ok. Uploading the latest version. Seems to work right. I got lazy about the comments but I'll fix that later. Will profile the run times later. The functionality has been tweaked a little. It now will use every member of the third argument if it's an array of strings.
(if it's an array of something
other than strings you are on your own. %-P)