AttributeOption::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( ) : array
return 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')];
    }