Commit fdb1672e by Qiang Xue

Merge pull request #4623 from xBazilio/patch-5

fixed comment in code snippet
parents 0cdf2f51 4674cdeb
......@@ -93,7 +93,7 @@ You can get the label of an attribute by calling [[yii\base\Model::getAttributeL
```php
$model = new \app\models\ContactForm;
// displays "Label"
// displays "Name"
echo $model->getAttributeLabel('name');
```
......
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