Gallery::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return ['id' => Yii::t('GalleryModule.gallery', 'Id'), 'name' => Yii::t('GalleryModule.gallery', 'Title'), 'owner' => Yii::t('GalleryModule.gallery', 'Vendor'), 'description' => Yii::t('GalleryModule.gallery', 'Description'), 'status' => Yii::t('GalleryModule.gallery', 'Status'), 'imagesCount' => Yii::t('GalleryModule.gallery', 'Images count'), 'category_id' => Yii::t('GalleryModule.gallery', 'Category')];
    }