Re: What are your personal conventions for Helper names and using helper classes?

2011-01-24 Thread connrs
That’s a neat little solution. I always enjoy getting dirty forking the libs/ directory myself. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questi

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-24 Thread connrs
Thanks euromark. You, and the other cakers below confirmed that I’m not insane. The most important thing I’ve gleaned from this thread is that I really need to start following the roadmap (and migration guides) for 2 and beyond to get a better idea of the direction the development team are taki

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-22 Thread David Kullmann
Connrs: It is best practice to use $this->Helper and I believe you may run into some issues if you don't do it with some helpers in Cake1.3.x. -DK On Jan 21, 9:53 am, connrs wrote: > Hi guys > > I suppose this is my first ever post on any CakePHP related forum/group so > get the unicorns and ba

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-22 Thread euromark
with a little hack you can already disable $html for the object... http://www.dereuromark.de/2010/09/12/neccessary-core-hacks-cake-1-3/ On 22 Jan., 16:31, "clearflysyst...@googlemail.com" wrote: > I have to agree $this->Helper. > > It makes more sense when reading your code that you're referenci

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-22 Thread clearflysyst...@googlemail.com
I have to agree $this->Helper. It makes more sense when reading your code that you're referencing a Helper Class and not a local variable you have set somewhere else in your code. Also i quite often have for loops where i'm building up a html string for output and $html would be the logical variab

Re: What are your personal conventions for Helper names and using helper classes?

2011-01-21 Thread euromark
of course 100% $this->Helper a) cleaner b) fit for 2.0 :) On 21 Jan., 15:53, connrs wrote: > Hi guys > > I suppose this is my first ever post on any CakePHP related forum/group so > get the unicorns and badger porn out. I've been actively using CakePHP since > 1.1 and have generally beaten and