Merge pull request #4623 from xBazilio/patch-5

fixed comment in code snippet
This commit is contained in:
Qiang Xue
2014-08-06 10:49:51 -04:00

View File

@ -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');
```