Created
July 28, 2015 11:05
-
-
Save marvinosswald/abe740f7926c064bc23d to your computer and use it in GitHub Desktop.
Maybe i didn't get some stuff straight with the getModel function here..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Normal Code | |
Mage::getModel('H2o_XMLToMagento_Model_Ftp",$credentials); | |
// Ftp.php | |
require 'utils/FTP.php'; | |
class H2o_XMLToMagento_Model_Ftp extends H2o_Dev_FTP { | |
} | |
// utils/FTP.php | |
class H2o_Dev_FTP {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment