me_von_south Posted February 12, 2017 Share Posted February 12, 2017 Hi Guys. When I create a new Prestashop 1.6 project in Netbeans and I extend the Module class it doesn't pick up the Module class but only ModuleCore. So I was just wondering is the Module class declared somewhere in a file or is it auto generated during runtime because I also couldnt find it when searching the files? (I searched for "class Module") Then i have another question and that is what folders can I exclude from the netbeans project. Currently I exclude only the "cache" folder. Thanks. Link to comment Share on other sites More sharing options...
Geo Burlibasa Posted February 12, 2017 Share Posted February 12, 2017 (edited) The "Module" class I think it is auto-generated during runtime based on the informations in "cache/class_index.php" file, if there is no override for "Module" class, or in override/classes/module/Module.php if there is an override. Basically, if there is no override, Module=ModuleCoreBTW: You have to extend "Module", not "ModuleCore", so the overrides take place if there is any. Edited February 12, 2017 by Goe Burlibasa (see edit history) Link to comment Share on other sites More sharing options...
me_von_south Posted February 17, 2017 Author Share Posted February 17, 2017 Hi Geo. I think you are right yes. What I did was to create a tmp file in my module structure with the following contents: "class Module extends ModuleCore {}" so that NetBeans autocomplete work. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now