Public Member Functions | |
__construct () | |
getClassNameByType ($type) |
Definition at line 36 of file Convert.php.
__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 }
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 }