4 ms·
What put me off is the useless Html class. You have a method named H which produces the H(1,2,3..) tag. How is this useful in any way?
by ibernat 16y ago
What put me off is the useless Html class. You have a method named H which produces the H(1,2,3..) tag. How is this useful in any way?
- philsturgeon 16y agoThis 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-helper-functions-rock http://philsturgeon.co.uk/blog/2009/12/Why-CodeIgniter-HTML-... Remember though, that class won't be loaded unless you want it.
- jschreuder 16y agoSorry 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.
- philsturgeon 16y agoRight 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. :)