Browse Source

Merge pull request #1279 from sergon/patch-7

Fix doc
tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
2e459092f5
  1. 4
      framework/yii/base/View.php

4
framework/yii/base/View.php

@ -356,10 +356,10 @@ class View extends Component
/** /**
* Begins the rendering of content that is to be decorated by the specified view. * 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 * 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... * ...layout content here...
* <?php $this->endContent(); ?> * <?php $this->endContent(); ?>
* ~~~ * ~~~

Loading…
Cancel
Save