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