This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello,
I want to know how we could add sperate class and call their functions on controller or model or everythings standard for this. for example I want to add SimpleHTMLDOM and be able to call function within my plugin.
Thanks
Okay, to be clear your question is:
I have the library SimpleHTMLDOM. Where do I place it and how do I load it into my plugin?
yes I want to know how to load it into my plugin and call their functions into controller or somewhere else.
for example I download DOM
into /plugins/me/htmls/vendor/dom
this class contain some functions for example public function geturl
I want to know how can I use geturl
function in my controller or specified url
Last updated
I found solution.
if you have same problem just extend your class to your plugin and enter namespace
1-4 of 4