Browse Source

Merge pull request #5866 from softark/docs-guide-structure-views-typo

[skip ci] Docs guide structure views typo
tags/2.0.1
Alexander Makarov 10 years ago
parent
commit
afe3229302
  1. 2
      docs/guide/structure-views.md

2
docs/guide/structure-views.md

@ -42,7 +42,7 @@ and rendering this view template.
Besides `$this`, there may be other predefined variables in a view, such as `$model` in the above Besides `$this`, there may be other predefined variables in a view, such as `$model` in the above
example. These variables represent the data that are *pushed* into the view by [controllers](structure-controllers.md) example. These variables represent the data that are *pushed* into the view by [controllers](structure-controllers.md)
or other objects whose trigger the [view rendering](#rendering-views). or other objects which trigger the [view rendering](#rendering-views).
> Tip: The predefined variables are listed in a comment block at beginning of a view so that they can > Tip: The predefined variables are listed in a comment block at beginning of a view so that they can
be recognized by IDEs. It is also a good way of documenting your views. be recognized by IDEs. It is also a good way of documenting your views.

Loading…
Cancel
Save