From f675cdf3e7ba7a494b24d6e174f7dcaca1ed8ded Mon Sep 17 00:00:00 2001 From: Rinat Silnov Date: Fri, 17 May 2013 02:43:18 +0400 Subject: [PATCH] Added file extension in View::beginContent docs --- yii/base/View.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yii/base/View.php b/yii/base/View.php index 84a6f11..67519c0 100644 --- a/yii/base/View.php +++ b/yii/base/View.php @@ -465,10 +465,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' like the following: + * in another layout file specified as '@app/view/layouts/base.php' like the following: * * ~~~ - * beginContent('@app/view/layouts/base'); ?> + * beginContent('@app/view/layouts/base.php'); ?> * ...layout content here... * endContent(); ?> * ~~~