Commit 4674cdeb by Bazilio

fixed comment in code snippet

parent 0cdf2f51
......@@ -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