Item::attributeLabels PHP Method

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
    public function attributeLabels()
    {
        return array('item_id' => 'ID', 'category_id' => '分类', 'category.name' => '分类', 'type_id' => '商品类型', 'title' => '商品标题', 'sn' => '商品货号', 'unit' => '计量单位', 'stock' => '库存', 'min_number' => '最少订货量', 'market_price' => '零售价', 'shop_price' => '批发价', 'currency' => '货币', 'skus' => '库存量单位', 'props' => '商品属性', 'props_name' => '商品属性名称', 'item_imgs' => '图片集', 'prop_imgs' => '属性图片集', 'pic_url' => '主图', 'desc' => '商品描述', 'location' => '商品所在地', 'post_fee' => '平邮费用', 'express_fee' => '快递费用', 'ems_fee' => 'Ems 费用', 'is_show' => '上架', 'is_promote' => '促销', 'is_new' => '新品', 'is_hot' => '热卖', 'is_best' => '精品', 'is_discount' => '会员打折', 'click_count' => '浏览次数', 'sort_order' => '排序', 'create_time' => '上架时间', 'update_time' => '更新时间', 'language' => '语言');
    }