Dumped Contents
In
ProductController.php
line 252:
}
foreach($Product->getProductClasses() as $ProductClasse){
dump( property_exists($ProductClasse , 'defult_delivery_date_days') );
if( property_exists($ProductClasse , 'defult_delivery_date_days') ){
}else{
false
In
ProductController.php
line 258:
}else{
$ProductClasse->defult_delivery_date_days = $ProductClasse->getDeliveryDateDays();
}
dump($ProductClasse);
}
Eccube\Entity\ProductClass {#5706
-price01_inc_tax: 0.0
-price02_inc_tax: 1628.0
-tax_rate: false
-id: 90
-code: "AKR-LEATHER-CREAM"
-stock: "0"
-stock_unlimited: false
-sale_limit: null
-price01: null
-price02: "1480.00"
-delivery_fee: null
-visible: true
-create_date: DateTime @1690178661 {#4776
date: 2023-07-24 15:04:21.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731466318 {#5263
date: 2024-11-13 11:51:58.0 Asia/Tokyo (+09:00)
}
-currency_code: "JPY"
-point_rate: null
-ProductStock: Eccube\Entity\ProductStock {#5717
-product_class_id: null
-id: 90
-stock: "0"
-create_date: DateTime @1690178661 {#5794
date: 2023-07-24 15:04:21.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731466318 {#5798
date: 2024-11-13 11:51:58.0 Asia/Tokyo (+09:00)
}
-ProductClass: Eccube\Entity\ProductClass {#5706}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739
+__isInitialized__: false
-id: 3
-name: null
-department: null
-login_id: null
-plainPassword: null
-password: null
-salt: null
-sort_no: null
-two_factor_auth_key: null
-two_factor_auth_enabled: false
-create_date: null
-update_date: null
-login_date: null
-Work: null
-Authority: null
-Creator: null
…2
}
}
-TaxRule: null
-Product: Eccube\Entity\Product {#5226
-_calc: true
-stockFinds: array:1 [
0 => false
]
-stocks: array:1 [
0 => "0"
]
-stockUnlimiteds: array:1 [
0 => false
]
-price01: []
-price02: array:1 [
0 => "1480.00"
]
-price01IncTaxs: []
-price02IncTaxs: array:1 [
0 => 1628.0
]
-codes: array:1 [
0 => "AKR-LEATHER-CREAM"
]
-classCategories1: []
-classCategories2: []
-className1: null
-className2: null
-id: 33
-name: "保革・抗菌クリーム"
-note: null
-description_list: null
-description_detail: """
AKRacingチェアに使用されている天然皮革・合成皮革に保革・抗菌効果を与えるクリームです。\n
定期的に使用することで効果が持続します。\n
\n
【使い方】\n
・クリームを布に少量取り、うすく塗り伸ばしてください。\n
・乾いたら、柔らかな布で磨いてください。\n
\n
【注】\n
・抗菌効果は、すべての菌に効果があるわけではありません。\n
・抗菌効果の持続期間は約2週間です。
"""
-search_word: null
-free_area: null
-create_date: DateTime @1690178661 {#4775
date: 2023-07-24 15:04:21.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731466318 {#4765
date: 2024-11-13 11:51:58.0 Asia/Tokyo (+09:00)
}
-ProductCategories: Doctrine\ORM\PersistentCollection {#5645
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4771 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5644
-elements: []
}
#initialized: false
}
-ProductClasses: Doctrine\ORM\PersistentCollection {#5740
-snapshot: array:1 [ …1]
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4781 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5744
-elements: array:1 [
0 => Eccube\Entity\ProductClass {#5706}
]
}
#initialized: true
}
-ProductImage: Doctrine\ORM\PersistentCollection {#6010
-snapshot: array:3 [ …3]
-owner: Eccube\Entity\Product {#5226}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5090 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6011
-elements: array:3 [
0 => Eccube\Entity\ProductImage {#6008
-id: 329
-file_name: "0828153328_64ec3fb82fb4b.png"
-sort_no: 0
-create_date: DateTime @1693204501 {#5261
date: 2023-08-28 15:35:01.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
1 => Eccube\Entity\ProductImage {#6033
-id: 330
-file_name: "0828153330_64ec3fba5d5c7.png"
-sort_no: 1
-create_date: DateTime @1693204501 {#6031
date: 2023-08-28 15:35:01.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
2 => Eccube\Entity\ProductImage {#6035
-id: 331
-file_name: "0828155125_64ec43edd477d.png"
-sort_no: 2
-create_date: DateTime @1693205489 {#6034
date: 2023-08-28 15:51:29.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
]
}
#initialized: true
}
-ProductTag: Doctrine\ORM\PersistentCollection {#6006
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5170 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6005
-elements: []
}
#initialized: true
}
-CustomerFavoriteProducts: Doctrine\ORM\PersistentCollection {#5643
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4528 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5646
-elements: []
}
#initialized: false
}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
-Status: Proxies\__CG__\Eccube\Entity\Master\ProductStatus {#5709
+__isInitialized__: false
#id: 1
#name: null
#sort_no: null
…2
}
-ProductLayouts: Doctrine\ORM\PersistentCollection {#5710
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#3868 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5711
-elements: []
}
#initialized: false
}
+jan_code: null
+amazon_url: null
+direct_shop_url: null
+path_3d: null
+sale: false
+member: false
+warranty: false
-free_description_about_quantity: null
-free_description_about_selling_price: null
-free_description_of_payment_delivery: null
-ProductOptions: Doctrine\ORM\PersistentCollection {#5741
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5712 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5743
-elements: []
}
#initialized: false
}
}
-SaleType: Proxies\__CG__\Eccube\Entity\Master\SaleType {#6003
+__isInitialized__: false
#id: 1
#name: null
#sort_no: null
…2
}
-ClassCategory1: null
-ClassCategory2: null
-DeliveryDuration: null
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
-delivery_date_days: 7
-ProductClassRegularCycle: Doctrine\ORM\PersistentCollection {#6013
-snapshot: []
-owner: Eccube\Entity\ProductClass {#5706}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "ProductClass"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6002 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6014
-elements: []
}
#initialized: false
}
-RegularDiscount: null
-QdProductClasses: Doctrine\ORM\PersistentCollection {#6015
-snapshot: []
-owner: Eccube\Entity\ProductClass {#5706}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#618 …11}
-backRefFieldName: "ProductClass"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1804 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6012
-elements: []
}
#initialized: false
}
+"defult_delivery_date_days": 7
}