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_Export_Entity_Product

Export entity product model

Mage_ImportExport_Model_Export_Entity_Abstract
Extended by Mage_ImportExport_Model_Export_Entity_Product
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/Export/Entity/Product.php
Methods summary
public
# __construct( )

Constructor.

Constructor.

Overrides

Mage_ImportExport_Model_Export_Entity_Abstract::__construct()
protected Mage_ImportExport_Model_Export_Entity_Product
# _initAttributeSets( )

Initialize attribute sets code-to-id pairs.

Initialize attribute sets code-to-id pairs.

Returns

Mage_ImportExport_Model_Export_Entity_Product
protected Mage_ImportExport_Model_Export_Entity_Product
# _initCategories( )

Initialize categories ID to text-path hash.

Initialize categories ID to text-path hash.

Returns

Mage_ImportExport_Model_Export_Entity_Product
protected Mage_ImportExport_Model_Export_Entity_Product
# _initTypeModels( )

Initialize product type models.

Initialize product type models.

Returns

Mage_ImportExport_Model_Export_Entity_Product

Throws

Exception
protected Mage_ImportExport_Model_Export_Entity_Product
# _initWebsites( )

Initialize website values.

Initialize website values.

Returns

Mage_ImportExport_Model_Export_Entity_Product
protected array
# _prepareTierPrices( array $productIds )

Prepare products tier prices

Prepare products tier prices

Parameters

$productIds
array
$productIds

Returns

array
protected array
# _prepareGroupPrices( array $productIds )

Prepare products group prices

Prepare products group prices

Parameters

$productIds
array
$productIds

Returns

array
protected array
# _prepareMediaGallery( array $productIds )

Prepare products media gallery

Prepare products media gallery

Parameters

$productIds
array
$productIds

Returns

array
protected array
# _prepareCatalogInventory( array $productIds )

Prepare catalog inventory

Prepare catalog inventory

Parameters

$productIds
array
$productIds

Returns

array
protected array
# _prepareLinks( array $productIds )

Prepare product links

Prepare product links

Parameters

$productIds
array
$productIds

Returns

array
protected boolean
# _updateDataWithCategoryColumns( array & $dataRow, array & $rowCategories, integer $productId )

Update data row with information about categories. Return true, if data row was updated

Update data row with information about categories. Return true, if data row was updated

Parameters

$dataRow
array
$dataRow
$rowCategories
array
$rowCategories
$productId
integer
$productId

Returns

boolean
public string
# export( )

Export process.

Export process.

Returns

string
public Mage_Eav_Model_Resource_Entity_Attribute_Collection
# filterAttributeCollection( Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection )

Clean up already loaded attribute collection.

Clean up already loaded attribute collection.

Parameters

$collection
Mage_Eav_Model_Resource_Entity_Attribute_Collection
$collection

Returns

Mage_Eav_Model_Resource_Entity_Attribute_Collection

Overrides

Mage_ImportExport_Model_Export_Entity_Abstract::filterAttributeCollection()
public Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Collection
# getAttributeCollection( )

Entity attributes collection getter.

Entity attributes collection getter.

Returns

Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Attribute_Collection
public string
# getEntityTypeCode( )

EAV entity type code getter.

EAV entity type code getter.

Returns

string
protected Mage_ImportExport_Model_Export_Entity_Product
# _initAttributes( )

Initialize attribute option values and types.

Initialize attribute option values and types.

Returns

Mage_ImportExport_Model_Export_Entity_Product
Methods inherited from Mage_ImportExport_Model_Export_Entity_Abstract
_getExportAttrCodes(), _initAttrValues(), _initStores(), _prepareEntityCollection(), addMessageTemplate(), addRowError(), getAttributeOptions(), getEntityTypeId(), getErrorMessages(), getErrorsCount(), getInvalidRowsCount(), getProcessedEntitiesCount(), getProcessedRowsCount(), getWriter(), setParameters(), setWriter()
Constants summary
string CONFIG_KEY_PRODUCT_TYPES 'global/importexport/export_product_types'
#
string VALUE_ALL 'all'
#

Value that means all entities (e.g. websites, groups etc.)

Value that means all entities (e.g. websites, groups etc.)

string COL_STORE '_store'
#

Permanent column names.

Permanent column names.

Names that begins with underscore is not an attribute. This name convention is for to avoid interference with same attribute name.

string COL_ATTR_SET '_attribute_set'
#
string COL_TYPE '_type'
#
string COL_CATEGORY '_category'
#
string COL_ROOT_CATEGORY '_root_category'
#
string COL_SKU 'sku'
#
Properties summary
protected array $_attrSetIdToName array()
#

Pairs of attribute set ID-to-name.

Pairs of attribute set ID-to-name.

protected array $_categories array()
#

Categories ID to text-path hash.

Categories ID to text-path hash.

protected array $_rootCategories array()
#

Root category names for each category

Root category names for each category

protected array $_indexValueAttributes array( 'status', 'tax_class_id', 'visibility', 'enable_googlecheckout', 'gift_message_available', 'custom_design' )
#

Attributes with index (not label) value.

Attributes with index (not label) value.

protected array $_permanentAttributes array(self::COL_SKU)
#

Permanent entity columns.

Permanent entity columns.

protected array $_productTypeModels array()
#

Array of supported product types as keys with appropriate model object as value.

Array of supported product types as keys with appropriate model object as value.

protected array $_storeIdToCode array()
#

Array of pairs store ID to its code.

Array of pairs store ID to its code.

protected array $_websiteIdToCode array()
#

Website ID-to-code.

Website ID-to-code.

protected array $_attributeTypes array()
#

Attribute types

Attribute types

Properties inherited from Mage_ImportExport_Model_Export_Entity_Abstract
$_attributeValues, $_connection, $_disabledAttrs, $_entityTypeId, $_errors, $_errorsCount, $_errorsLimit, $_filter, $_messageTemplates, $_parameters, $_particularAttributes, $_processedEntitiesCount, $_processedRowsCount, $_writer, $attrCodes
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0