From 2fb823a04de1279a8a1bb51b64055d858c241bc2 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 11 Dec 2013 16:46:09 +0100 Subject: [PATCH] doc typos --- docs/guide/extensions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/extensions.md b/docs/guide/extensions.md index 1aa5ce2..47ba380 100644 --- a/docs/guide/extensions.md +++ b/docs/guide/extensions.md @@ -6,8 +6,8 @@ Code style - Extension code style should be similar to [core framework code style](https://github.com/yiisoft/yii2/wiki/Core-framework-code-style). - In case of using getter and setter for defining a property it's preferred to use method in extension code rather than property. -- All classes, methods and properties should be documented using phpdoc. Note that you can use markdown and like to API -documents using `[[name()]]`. +- All classes, methods and properties should be documented using phpdoc. Note that you can use markdown and link to properties and methods +using the following syntax: e.g. `[[name()]]`, `[[name\space\MyClass::name()]]`. - If you're displaying errors to developers do not translate these (i.e. do not use `\Yii::t()`). Errors should be translated only if they're displayed to end users.