mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 22:57:40 +08:00 
			
		
		
		
	Merge pull request #4623 from xBazilio/patch-5
fixed comment in code snippet
This commit is contained in:
		@ -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');
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user