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
What it really means that ???
please clear my doubt...
Thanks in advance...
I need a clarification about
set('uNamePosted', $uName);
What it really means that ???
please clear my doubt...
Thanks in advance...
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.