Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_ImportExport_Adminhtml_ExportController
  • Mage_ImportExport_Adminhtml_ImportController
  • Mage_ImportExport_Block_Adminhtml_Export_Edit
  • Mage_ImportExport_Block_Adminhtml_Export_Edit_Form
  • Mage_ImportExport_Block_Adminhtml_Export_Filter
  • Mage_ImportExport_Block_Adminhtml_Import_Edit
  • Mage_ImportExport_Block_Adminhtml_Import_Edit_Form
  • Mage_ImportExport_Block_Adminhtml_Import_Frame_Result
  • Mage_ImportExport_Helper_Data
  • Mage_ImportExport_Model_Abstract
  • Mage_ImportExport_Model_Config
  • Mage_ImportExport_Model_Export
  • Mage_ImportExport_Model_Export_Adapter_Abstract
  • Mage_ImportExport_Model_Export_Adapter_Csv
  • Mage_ImportExport_Model_Export_Entity_Abstract
  • Mage_ImportExport_Model_Export_Entity_Customer
  • Mage_ImportExport_Model_Export_Entity_Product
  • Mage_ImportExport_Model_Export_Entity_Product_Type_Abstract
  • Mage_ImportExport_Model_Export_Entity_Product_Type_Configurable
  • Mage_ImportExport_Model_Export_Entity_Product_Type_Grouped
  • Mage_ImportExport_Model_Export_Entity_Product_Type_Simple
  • Mage_ImportExport_Model_Import
  • Mage_ImportExport_Model_Import_Adapter
  • Mage_ImportExport_Model_Import_Adapter_Abstract
  • Mage_ImportExport_Model_Import_Adapter_Csv
  • Mage_ImportExport_Model_Import_Entity_Abstract
  • Mage_ImportExport_Model_Import_Entity_Customer
  • Mage_ImportExport_Model_Import_Entity_Customer_Address
  • Mage_ImportExport_Model_Import_Entity_Product
  • Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
  • Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
  • Mage_ImportExport_Model_Import_Entity_Product_Type_Grouped
  • Mage_ImportExport_Model_Import_Entity_Product_Type_Simple
  • Mage_ImportExport_Model_Import_Proxy_Product
  • Mage_ImportExport_Model_Import_Proxy_Product_Resource
  • Mage_ImportExport_Model_Import_Uploader
  • Mage_ImportExport_Model_Mysql4_Import_Data
  • Mage_ImportExport_Model_Mysql4_Setup
  • Mage_ImportExport_Model_Resource_Import_Data
  • Mage_ImportExport_Model_Resource_Setup
  • Mage_ImportExport_Model_Source_Export_Entity
  • Mage_ImportExport_Model_Source_Export_Format
  • Mage_ImportExport_Model_Source_Import_Behavior
  • Mage_ImportExport_Model_Source_Import_Entity
  • Overview
  • Package
  • Class
  • Tree

Class Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable

Import entity configurable product type model

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
Extended by Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
Package: Mage\ImportExport
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Configurable.php
Methods summary
protected Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
# _addAttributeParams( string $attrSetName, array $attrParams )

Add attribute parameters to appropriate attribute set.

Add attribute parameters to appropriate attribute set.

Parameters

$attrSetName
string
$attrParams Name of attribute set.
$attrParams
array
$attrParams Refined attribute parameters.

Returns

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract

Overrides

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract::_addAttributeParams()
protected array|null
# _getSuperAttributeId( integer $productId, integer $attributeId )

Get super attribute ID (if it is not possible - return NULL).

Get super attribute ID (if it is not possible - return NULL).

Parameters

$productId
integer
$productId
$attributeId
integer
$attributeId

Returns

array|null
protected boolean
# _isAttributeRequiredCheckNeeded( string $attrCode )

Have we check attribute for is_required? Used as last chance to disable this type of check.

Have we check attribute for is_required? Used as last chance to disable this type of check.

Parameters

$attrCode
string
$attrCode

Returns

boolean

Overrides

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract::_isAttributeRequiredCheckNeeded()
protected boolean
# _isAttributeSuper( string $attrCode )

Is attribute is super-attribute?

Is attribute is super-attribute?

Parameters

$attrCode
string
$attrCode

Returns

boolean
protected boolean
# _isParticularAttributesValid( array $rowData, integer $rowNum )

Validate particular attributes columns.

Validate particular attributes columns.

Parameters

$rowData
array
$rowData
$rowNum
integer
$rowNum

Returns

boolean

Overrides

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract::_isParticularAttributesValid()
protected Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
# _loadSkuSuperAttributeValues( )

Array of SKU to array of super attribute values for all products.

Array of SKU to array of super attribute values for all products.

Returns

Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
protected Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
# _loadSkuSuperData( )

Array of SKU to array of super attribute values for all products.

Array of SKU to array of super attribute values for all products.

Returns

Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
protected Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
# _processSuperData( array $superData, array & $superAttributes )

Validate and prepare data about super attributes and associated products.

Validate and prepare data about super attributes and associated products.

Parameters

$superData
array
$superData
$superAttributes
array
$superAttributes

Returns

Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable
public Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
# saveData( )

Save product type specific data.

Save product type specific data.

Returns

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract

Throws

Exception

Overrides

Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract::saveData()
Methods inherited from Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
__construct(), _getProductAttributes(), _initAttributes(), _isPriceCorr(), getParticularAttributes(), isRowValid(), isSuitable(), prepareAttributesForSave()
Constants summary
string ERROR_ATTRIBUTE_CODE_IS_NOT_SUPER 'attrCodeIsNotSuper'
#

Error codes.

Error codes.

string ERROR_INVALID_PRICE_CORRECTION 'invalidPriceCorr'
#
string ERROR_INVALID_OPTION_VALUE 'invalidOptionValue'
#
string ERROR_INVALID_WEBSITE 'invalidSuperAttrWebsite'
#
Properties summary
protected array $_messageTemplates array( self::ERROR_ATTRIBUTE_CODE_IS_NOT_SUPER => 'Attribute with this code is not super', self::ERROR_INVALID_PRICE_CORRECTION => 'Super attribute price correction value is invalid', self::ERROR_INVALID_OPTION_VALUE => 'Invalid option value', self::ERROR_INVALID_WEBSITE => 'Invalid website code for super attribute' )
#

Validation failure message template definitions

Validation failure message template definitions

protected array $_particularAttributes array( '_super_products_sku', '_super_attribute_code', '_super_attribute_option', '_super_attribute_price_corr', '_super_attribute_price_website' )
#

Column names that holds values with particular meaning.

Column names that holds values with particular meaning.

protected array $_productSuperAttrs array()
#

Reference array of existing product-attribute to product super attribute ID.

Reference array of existing product-attribute to product super attribute ID.

product1 (underscore) attribute_id1 => product_super_attr_id1, product1 (underscore) attribute_id2 => product_super_attr_id2, ..., productn (underscore) attribute_idn => product_super_attr_idn

protected array $_skuSuperAttributeValues array()
#

Array of SKU to array of super attribute values for all products.

Array of SKU to array of super attribute values for all products.

array ( attr_set_name1 => array( product_id1 => array( super_attribute_code1 => attr_value1, ... super_attribute_coden => attr_valuen ), ... ), ... )

protected array $_skuSuperData array()
#

Array of SKU to array of super attributes data for validation new associated products.

Array of SKU to array of super attributes data for validation new associated products.

array ( product_id1 => array( super_attribute_id1 => array( value_index1 => TRUE, ... value_indexn => TRUE ), ... ), ... )

protected array $_superAttributes array()
#

Super attributes codes in a form of code => TRUE array pairs.

Super attributes codes in a form of code => TRUE array pairs.

protected array $_superAttrValuesCombs null
#

All super attributes values combinations for each attribute set.

All super attributes values combinations for each attribute set.

Properties inherited from Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
$_attributes, $_entityModel, $_forcedAttributesCodes, $_indexValueAttributes, $_type
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0