AttributeOption::attributeLabels PHP 메소드

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return ['id' => Yii::t('StoreModule.store', 'ID'), 'position' => Yii::t('StoreModule.store', 'Position'), 'value' => Yii::t('StoreModule.store', 'Value')];
    }