From 9dcdbd5e309ce6e01c8e90604083f0d02f16b6fe Mon Sep 17 00:00:00 2001 From: Yeung Song Date: Fri, 2 May 2014 05:42:30 +0800 Subject: [PATCH] update document for BaseYii::setAlias method. update --- framework/BaseYii.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/BaseYii.php b/framework/BaseYii.php index dbadd0e342..028210806e 100644 --- a/framework/BaseYii.php +++ b/framework/BaseYii.php @@ -199,8 +199,8 @@ class BaseYii * @param string $alias the alias name (e.g. "@yii"). It must start with a '@' character. * It may contain the forward slash '/' which serves as boundary character when performing * alias translation by [[getAlias()]]. - * @param string $path the path corresponding to the alias. Trailing '/' and '\' characters - * will be trimmed. This can be + * @param string $path the path corresponding to the alias. If this is null, the alias will + * be removed. Trailing '/' and '\' characters will be trimmed. This can be * * - a directory or a file path (e.g. `/tmp`, `/tmp/main.txt`) * - a URL (e.g. `http://www.yiiframework.com`)