Hacker News new | ask | show | jobs
by philsturgeon 5548 days ago
This was ported over from CodeIgniter which has a few crazy Hellers for this sort of thing. I wrote an article explaining the benefits: http://philsturgeon.co.uk/blog/2009/12/Why-CodeIgniter-HTML-...

Remember though, that class won't be loaded unless you want it.

1 comments

Sorry Phil, going to correct you a little bit here ;-) It actually wasn't ported over. It was written by Alfie and I did a big rewrite on it before committing.
Right you are, but Alfie based this almost directly on CI. You recoded some of it, but the initial purpose and feeling of the class remains as essentially a copy of the CodeIniter Helpers. The sort of thing that is so similar it was just easier to call a port. :)