コード例 #1
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendGroupPrice @todo ... pretty complex
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice.php
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php
func ProductBackendGroupPrice() *todoPABGP {
	return &todoPABGP{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #2
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendStartDate @todo
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Startdate.php
func ProductBackendStartDate() *todoPABSD {
	return &todoPABSD{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #3
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendBoolean @todo
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Boolean.php
func ProductBackendBoolean() *todoPABB {
	return &todoPABB{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #4
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendSku @todo
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Sku.php
func ProductBackendSku() *todoPABSku {
	return &todoPABSku{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #5
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendStock @todo
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Stock.php
func ProductBackendStock() *todoPABStock {
	return &todoPABStock{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #6
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendShipping handles shipping address @todo
// @see magento2/site/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Shipping.php
func CustomerBackendShipping() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #7
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductRecurring @todo
// @see Mage_Catalog_Model_Product_Attribute_Backend_Recurring
func ProductBackendRecurring() *todoPABR {
	return &todoPABR{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #8
0
ファイル: address_backend.go プロジェクト: hafeez3000/csfw
// AddressBackendStreet handles multiline street address @todo
// @see Mage_Customer_Model_Resource_Address_Attribute_Backend_Street
func AddressBackendStreet() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #9
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendTierPrice @todo ... pretty complex
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice.php
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php
func ProductBackendTierPrice() *todoPABTP {
	return &todoPABTP{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #10
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendWebsite handles website
// @see magento2/site/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Website.php
func CustomerBackendWebsite() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #11
0
ファイル: address_backend.go プロジェクト: hafeez3000/csfw
// AddressDataPostcode post code data model @todo
// @see magento2/site/app/code/Magento/Customer/Model/Attribute/Data/Postcode.php
func AddressBackendRegion() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #12
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendStore handles store
// @see magento2/site/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Store.php
func CustomerBackendStore() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #13
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendPassword handles customer passwords @todo
// @see magento2/site/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Password.php
func CustomerBackendPassword() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #14
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendDataBoolean converts 1 or 0 to bool @todo
// @see magento2/site/app/code/Magento/Customer/Model/Attribute/Backend/Data/Boolean.php
func CustomerBackendDataBoolean() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
コード例 #15
0
ファイル: category_backend.go プロジェクト: joao-parana/csfw
// CategoryBackendSortby sorting @todo
// @see magento2/site/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Sortby.php
func CategoryBackendSortby() *todoCABSB {
	return &todoCABSB{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #16
0
ファイル: product_backend.go プロジェクト: hafeez3000/csfw
// ProductBackendMedia @todo ... pretty complex
// @see magento2/site/app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media.php
func ProductBackendMedia() *todoPABM {
	return &todoPABM{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #17
0
ファイル: category_backend.go プロジェクト: joao-parana/csfw
// CategoryBackendImage @todo file uploading and saving
// @see magento2/site/app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php
func CategoryBackendImage() *todoCABI {
	return &todoCABI{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
コード例 #18
0
ファイル: customer_backend.go プロジェクト: joao-parana/csfw
// CustomerBackendBilling handles billing address @todo
// @see magento2/site/app/code/Magento/Customer/Model/Customer/Attribute/Backend/Billing.php
func CustomerBackendBilling() *todoABB {
	return &todoABB{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}