Class Mage_Eav_Model_Convert_Adapter_Entity

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Eav/Model/Convert/Adapter/Entity.php (line 28)

Mage_Dataflow_Model_Convert_Container_Abstract
   |
   --Mage_Dataflow_Model_Convert_Adapter_Abstract
      |
      --Mage_Eav_Model_Convert_Adapter_Entity
Direct descendents
Variable Summary
Method Summary
void getFieldValue ([ $fields = array()],  $name)
void getFilter ()
int getStoreId ()
void load ()
void save ()
void setFilter ( $attrFilterArray, [ $attrToDb = null], [ $bind = null], [ $joinType = null])
void setJoinAttr ( $joinAttr)
void setJoinField (array $joinField)
Mage_Eav_Model_Convert_Adapter_Entity _parseVars ($attrFilter 0, $attrToDb 1)
Variables
mixed $_attrToDb (line 41)
  • access: protected
mixed $_filter = array() (line 38)
  • access: protected
mixed $_joinAttr = array() (line 40)
  • access: protected
mixed $_joinField = array() (line 42)
  • access: protected
mixed $_joinFilter = array() (line 39)
  • access: protected
Mage_Core_Model_Store $_store (line 36)

Current store model

  • access: protected

Inherited Variables

Inherited from Mage_Dataflow_Model_Convert_Adapter_Abstract

Mage_Dataflow_Model_Convert_Adapter_Abstract::$_resource

Inherited from Mage_Dataflow_Model_Convert_Container_Abstract

Mage_Dataflow_Model_Convert_Container_Abstract::$_action
Mage_Dataflow_Model_Convert_Container_Abstract::$_batchParams
Mage_Dataflow_Model_Convert_Container_Abstract::$_data
Mage_Dataflow_Model_Convert_Container_Abstract::$_position
Mage_Dataflow_Model_Convert_Container_Abstract::$_profile
Mage_Dataflow_Model_Convert_Container_Abstract::$_vars
Methods
getFieldValue (line 192)
  • access: protected
void getFieldValue ([ $fields = array()],  $name)
  • $fields
  • $name
getFilter (line 187)
  • access: public
void getFilter ()
getStoreId (line 49)

Retrieve store Id

  • access: public
int getStoreId ()
load (line 248)
  • access: public
void load ()

Redefined in descendants as:
save (line 325)
  • access: public
void save ()

Redefined in descendants as:
setFilter (line 82)
  • access: public
void setFilter ( $attrFilterArray, [ $attrToDb = null], [ $bind = null], [ $joinType = null])
  • $attrFilterArray
  • $attrToDb
  • $bind
  • $joinType
setJoinAttr (line 207)
  • access: public
void setJoinAttr ( $joinAttr)
  • $joinAttr
setJoinField (line 241)

Add join field

  • access: public
void setJoinField (array $joinField)
  • array $joinField: Variable should be have view: Example: array( 'alias' => 'alias_table', 'attribute' => 'table_name', //table name, must be used path of table like 'module/table_name' 'field' => 'field_name', //selected field name (optional) //bind main condition //left field use for joined table //and right field use for main table of collection //NOTE: around '=' cannot be used ' ' (space) because on the exploding not use space trimming 'bind' => 'self_item_id=other_id', 'cond' => 'alias_table.entity_id = e.entity_id', //additional condition (optional) 'joinType' => 'LEFT' ) NOTE: Optional key must be have NULL at least
_getCollectionForLoad (line 320)

Retrieve collection for load

  • access: protected
Mage_Eav_Model_Entity_Collection _getCollectionForLoad ( $entityType)
  • $entityType

Redefined in descendants as:
_parseVars (line 69)
  • access: protected
Mage_Eav_Model_Convert_Adapter_Entity _parseVars ($attrFilter 0, $attrToDb 1)
  • $attrFilter 0: - $attrArray['attrDB'] = ['like','eq','fromTo','dateFromTo]
  • $attrToDb 1: - attribute name to DB field

Inherited Methods

Inherited From Mage_Dataflow_Model_Convert_Adapter_Abstract

Mage_Dataflow_Model_Convert_Adapter_Abstract::getNumber()
Mage_Dataflow_Model_Convert_Adapter_Abstract::getResource()
Mage_Dataflow_Model_Convert_Adapter_Abstract::setResource()

Inherited From Mage_Dataflow_Model_Convert_Container_Abstract

Mage_Dataflow_Model_Convert_Container_Abstract::addException()
Mage_Dataflow_Model_Convert_Container_Abstract::getAction()
Mage_Dataflow_Model_Convert_Container_Abstract::getBatchParams()
Mage_Dataflow_Model_Convert_Container_Abstract::getData()
Mage_Dataflow_Model_Convert_Container_Abstract::getGridFields()
Mage_Dataflow_Model_Convert_Container_Abstract::getPosition()
Mage_Dataflow_Model_Convert_Container_Abstract::getProfile()
Mage_Dataflow_Model_Convert_Container_Abstract::getVar()
Mage_Dataflow_Model_Convert_Container_Abstract::getVars()
Mage_Dataflow_Model_Convert_Container_Abstract::setAction()
Mage_Dataflow_Model_Convert_Container_Abstract::setBatchParams()
Mage_Dataflow_Model_Convert_Container_Abstract::setData()
Mage_Dataflow_Model_Convert_Container_Abstract::setPosition()
Mage_Dataflow_Model_Convert_Container_Abstract::setProfile()
Mage_Dataflow_Model_Convert_Container_Abstract::setVar()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataArray()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataGrid()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataString()

Documentation generated on Fri, 11 Feb 2011 17:02:18 +0200 by phpDocumentor 1.4.3