Revision #7 has been created by dckurushin on Oct 7, 2011, 2:26:25 PM with the memo:
image
« previous (#6) next (#8) »
Changes
Title
unchanged
Understanding the view rendering flow
Category
unchanged
FAQs
Yii version
unchanged
Tags
unchanged
layouts, views, render, renderPartial, variables, beginContent
Content
changed
[...]
as we saw, the contact.php is rendered before the layout, so every field( aka class parameters), you change from the view file (contact.php) will effect the layout because it rendered after...
#### And the main confusion:
**6)** what is called before what? what the heck is going on there ? ;-)
<center>
**contact.php (passed as content)-> column1.php (passed as content)-> main.php**
That's it, now you pro in layouts ;-)
Confession
Actually before writing this tutorial I was more in the "rules follower" group ...</center>
<center>
<img src="http://i30.fastpic.ru/big/2011/1007/21/6c07cda81e332dba19bd59a812abc121.png" width="750"/></center>
That's it, now you pro in layouts ;-)