Producer::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'), 'name_short' => Yii::t('StoreModule.store', 'Short title'), 'name' => Yii::t('StoreModule.store', 'Title'), 'slug' => Yii::t('StoreModule.store', 'URL'), 'status' => Yii::t('StoreModule.store', 'Status'), 'sort' => Yii::t('StoreModule.store', 'Order'), 'image' => Yii::t('StoreModule.store', 'Image'), 'short_description' => Yii::t('StoreModule.store', 'Short description'), 'description' => Yii::t('StoreModule.store', 'Description'), 'meta_title' => Yii::t('StoreModule.store', 'Meta title'), 'meta_keywords' => Yii::t('StoreModule.store', 'Meta keywords'), 'meta_description' => Yii::t('StoreModule.store', 'Meta description')];
    }