Commit 4ec0e61d by Nobuo Kihara

docs/guide/structure-views.md grammar fix [ci skip]

parent e50d9e82
...@@ -42,7 +42,7 @@ and rendering this view template. ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment