Commit dacd11ea by Alexander Makarov

Merge pull request #3318 from netyum/patch-1

[ci skip] Update document for BaseYii::setAlias method.
parents b48cc015 9dcdbd5e
...@@ -199,8 +199,8 @@ class BaseYii ...@@ -199,8 +199,8 @@ class BaseYii
* @param string $alias the alias name (e.g. "@yii"). It must start with a '@' character. * @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 * It may contain the forward slash '/' which serves as boundary character when performing
* alias translation by [[getAlias()]]. * alias translation by [[getAlias()]].
* @param string $path the path corresponding to the alias. Trailing '/' and '\' characters * @param string $path the path corresponding to the alias. If this is null, the alias will
* will be trimmed. This can be * be removed. Trailing '/' and '\' characters will be trimmed. This can be
* *
* - a directory or a file path (e.g. `/tmp`, `/tmp/main.txt`) * - a directory or a file path (e.g. `/tmp`, `/tmp/main.txt`)
* - a URL (e.g. `http://www.yiiframework.com`) * - a URL (e.g. `http://www.yiiframework.com`)
......
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