support

Is it possible to include php library in extension?

Started by yonghan, September 14, 2014, 10:09:44 AM

Previous topic - Next topic

yonghan

Hi admins,i would like to ask if it's possible to add custom php library/helper for use within extension?Thanks a lot.

eCommerce Core

You can not hook to library/helper. You can create your own function in your extension and make it accessible where you need.

What are you trying to do, possibly we can look for solution?
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

yonghan

Hello ecommerce core,i would like to use phpJobScheduler  in custom extension.Here is the link : http://www.phpjobscheduler.co.uk/.Thanks

abolabo

ha.. we already developed jobs(tasks) in new version 1.2.0 but it's not stable for now.
anyway you can use your own "includes" in your extension.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

yonghan

I got it,thanks a lot abolabo.I wonder if you know alternatives to cron jobs?As many user doesn't know how to set it up. :)

abolabo

Quote from: yonghan on September 18, 2014, 07:53:20 AM
I got it,thanks a lot abolabo.I wonder if you know alternatives to cron jobs?As many user doesn't know how to set it up. :)

we already researched solutions of php cron jobs but decided to write own:)
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

yonghan

Awesome.looking forward for abantecart cron job.Will it be using cron tab?

Forum Rules Code of conduct
AbanteCart.com 2010 -