common\models\OrderGoods::attributeLabels PHP Méthode

attributeLabels() public méthode

public attributeLabels ( )
    public function attributeLabels()
    {
        return ['id' => 'ID', 'order_id' => '订单', 'goods_id' => '商品', 'name' => '商品名称', 'category' => '分类', 'price' => '单价', 'cost' => '成本价', 'count' => '数量', 'cover' => '封面图片', 'unit' => '单位'];
    }