From 5ddb0e2cbfc7f440c7b4e80cf04bb73a9071203f Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 8 Nov 2013 12:34:13 +0100 Subject: [PATCH] controller php-doc --- framework/yii/web/Controller.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/yii/web/Controller.php b/framework/yii/web/Controller.php index 01794ed..3319f3b 100644 --- a/framework/yii/web/Controller.php +++ b/framework/yii/web/Controller.php @@ -14,7 +14,8 @@ use yii\helpers\Html; /** * Controller is the base class of web controllers. * - * @property string $canonicalUrl This property is read-only. + * @property string $canonicalUrl The canonical URL of the currently requested page. This property is + * read-only. * * @author Qiang Xue * @since 2.0 @@ -130,7 +131,7 @@ class Controller extends \yii\base\Controller * $this->registerLinkTag(['rel' => 'canonical', 'href' => Yii::$app->controller->canonicalUrl]); * ~~~ * - * @return string + * @return string the canonical URL of the currently requested page */ public function getCanonicalUrl() {