what it means: set('uNamePosted', $uName);

Permalink 1 user found helpful
I just now referring the concrete5 site to know about the mvc structure. I saw this line in one example.
I need a clarification about
set('uNamePosted', $uName);

What it really means that ???
please clear my doubt...
Thanks in advance...

cjramki
 
cjramki replied on at Permalink Reply
cjramki
I found that answer for my question...

set() line passes it back to the view. Whatever we pass as the first parameter to set() automatically becomes a PHP variable in our view, with whatever information we place in the second parameter. This information can be a a simple string, or a complex PHP object, or anything in between.
INTcommunications replied on at Permalink Best Answer Reply
INTcommunications
This is the fourth question that I have seen that you have given yourself the best answer. Just pat your self on the back.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.