Public Member Functions | |
getResource () | |
load () | |
save () |
Definition at line 28 of file Catalog.php.
getResource | ( | ) |
Retrieve resource generic method
Reimplemented from Mage_Dataflow_Model_Convert_Adapter_Abstract.
Definition at line 31 of file Catalog.php.
00032 { 00033 if (!$this->_resource) { 00034 $this->_resource = Mage::getResourceSingleton('catalog_entity/convert'); 00035 } 00036 return $this->_resource; 00037 }
load | ( | ) |
Implements Mage_Dataflow_Model_Convert_Adapter_Interface.
Definition at line 39 of file Catalog.php.
00040 { 00041 $res = $this->getResource(); 00042 00043 $this->setData(array( 00044 'Products' => $res->exportProducts(), 00045 'Categories' => $res->exportCategories(), 00046 'Image Gallery' => $res->exportImageGallery(), 00047 'Product Links' => $res->exportProductLinks(), 00048 'Products in Categories' => $res->exportProductsInCategories(), 00049 'Products in Stores' => $res->exportProductsInStores(), 00050 'Attributes' => $res->exportAttributes(), 00051 'Attribute Sets' => $res->exportAttributeSets(), 00052 'Attribute Options' => $res->exportAttributeOptions(), 00053 )); 00054 00055 return $this; 00056 }
save | ( | ) |
Implements Mage_Dataflow_Model_Convert_Adapter_Interface.
Definition at line 58 of file Catalog.php.
00059 { 00060 /* 00061 $res = $this->getResource(); 00062 00063 foreach (array('Attributes', 'Attribute Sets', 'Attribute Options', 'Products', 'Categories', '')) 00064 00065 $this->setData 00066 00067 echo "<pre>".print_r($this->getData(),1)."</pre>"; 00068 00069 */ 00070 return $this; 00071 }