Commit 2e459092 by Paul Klimov

Merge pull request #1279 from sergon/patch-7

Fix doc
parents e3784e45 ff92af3f
......@@ -356,10 +356,10 @@ class View extends Component
/**
* Begins the rendering of content that is to be decorated by the specified view.
* This method can be used to implement nested layout. For example, a layout can be embedded
* in another layout file specified as '@app/view/layouts/base.php' like the following:
* in another layout file specified as '@app/views/layouts/base.php' like the following:
*
* ~~~
* <?php $this->beginContent('@app/view/layouts/base.php'); ?>
* <?php $this->beginContent('@app/views/layouts/base.php'); ?>
* ...layout content here...
* <?php $this->endContent(); ?>
* ~~~
......
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