Mage_Core_Model_Convert Class Reference

Inheritance diagram for Mage_Core_Model_Convert:

Mage_Dataflow_Model_Convert_Profile_Collection Mage_Catalog_Model_Convert

List of all members.

Public Member Functions

 __construct ()
 getClassNameByType ($type)


Detailed Description

Definition at line 36 of file Convert.php.


Constructor & Destructor Documentation

__construct (  ) 

Definition at line 38 of file Convert.php.

00039     {
00040         $classArr = explode('_', get_class($this));
00041         $moduleName = $classArr[0].'_'.$classArr[1];
00042         $etcDir = Mage::getConfig()->getModuleDir('etc', $moduleName);
00043 
00044         $fileName = $etcDir.DS.'convert.xml';
00045         if (is_readable($fileName)) {
00046             $data = file_get_contents($fileName);
00047             $this->importXml($data);
00048         }
00049     }


Member Function Documentation

getClassNameByType ( type  ) 

Reimplemented from Mage_Dataflow_Model_Convert_Profile_Collection.

Definition at line 51 of file Convert.php.

00052     {
00053         if (strpos($type, '/')!==false) {
00054             return Mage::getConfig()->getModelClassName($type);
00055         }
00056         return parent::getClassNameByType($type);
00057     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:56 2009 for Magento by  doxygen 1.5.8