support

How to access db query from extension class in core folder?

Started by sunnykasera3107, February 05, 2019, 06:40:05 AM

Previous topic - Next topic

sunnykasera3107

Hi,

Currently, Working on Extension Class in the core folder. I am not getting how to access model or how to access db->query from extension class?
When I try to load any model in extension class so it says undefined method of null object. And same for db query.

Anyone please help me. Small hint will be enough to understand it.


Thank You

abolabo


sunnykasera3107

Awesome.......
Thanks a lot for this help. It works for me.  :)

Forum Rules Code of conduct
AbanteCart.com 2010 -