Export::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return ['id' => Yii::t('YmlModule.default', 'Id'), 'name' => Yii::t('YmlModule.default', 'Title'), 'settings' => Yii::t('YmlModule.default', 'Settings'), 'brands' => Yii::t('YmlModule.default', 'Brands'), 'categories' => Yii::t('YmlModule.default', 'Categories'), 'shop_name' => Yii::t('YmlModule.default', 'Store short title'), 'shop_company' => Yii::t('YmlModule.default', 'Company name'), 'shop_url' => Yii::t('YmlModule.default', 'Store URL'), 'shop_platform' => Yii::t('YmlModule.default', 'Store CMS'), 'shop_version' => Yii::t('YmlModule.default', 'CMS version'), 'shop_agency' => Yii::t('YmlModule.default', 'The name of the Agency which provides technical support to the online store and is responsible for the performance of the website'), 'shop_email' => Yii::t('YmlModule.default', 'Contact the developers of CMS or tech support agency'), 'shop_cpa' => Yii::t('YmlModule.default', 'To participate in the "Buy at Market" program')];
    }