Re: [PHPTAL] Re: PHP logic problem...

2009-01-01 Thread Alister Cameron
Thanks Levi. I worked it out, so thanks a lot ;) -Alister On Thu, Jan 1, 2009 at 2:55 PM, Levi Stanley wrote: > Not enough information was given. > > It isn't a scoping issue. From your previous email, you were accessing > vanilla.nesting as if it was a public attribute in an object. So if

Re: [PHPTAL] Re: PHP logic problem...

2008-12-31 Thread Levi Stanley
Not enough information was given. It isn't a scoping issue. From your previous email, you were accessing vanilla.nesting as if it was a public attribute in an object. So if your object was done like this: class Vanilla extends IceCream implements ShoppingCartItem { public $nesting = 'yui-g

[PHPTAL] Re: PHP logic problem...

2008-12-31 Thread Alister Cameron
Ok. I fixed it, but I'm not sure I understand "scope" here... Can someone explain to me why the define is required?? Could this same outcome have been achieved within the php logic of the tal:attribute ?? Many thanks! -Alister --- Alister R Cameron CEO // Australis Media Pty Ltd http://www.au