Пример #1
0
// 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
// 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
// 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
// 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
// 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
// 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
// ProductRecurring @todo
// @see Mage_Catalog_Model_Product_Attribute_Backend_Recurring
func ProductBackendRecurring() *todoPABR {
	return &todoPABR{
		AttributeBackend: eav.NewAttributeBackend(),
	}
}
Пример #8
0
// AddressBackendStreet handles multiline street address @todo
// @see Mage_Customer_Model_Resource_Address_Attribute_Backend_Street
func AddressBackendStreet() *eav.AttributeBackend {
	return eav.NewAttributeBackend()
}
Пример #9
0
// 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
// 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
// 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
// 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
// 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
// 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
// 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
// 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
// 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
// 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(),
	}
}