2009年4月29日星期三

Re: [fw-mvc] How do I customize the escape() function for HTML rendering?

On 29 Apr 2009, at 12:41, bentobenji wrote:

> Anyway, if you have an explanation
> to why removing '$this->' does the trick, I'd love to know.
>
> Your help is appreciated greatly!!

Because your $text variable is in the local scope of the foreach loop
and is not a member property of the view.

Paul

没有评论: