Hello,
I am trying to make my first plugin.
And I wonder if there is a place where all are listed function () predefined on oxwall?
as:
OW::getDocument()->addScript($this->pluginJsUrl . 'file.js')
OW::getLanguage()->text('plugin', 'key')
OW::getUser()->isAuthorized('plugin')
.......
For how to know? I have to look in the files?
And I'm looking how to find the url of the css file in my plugin (in static)
because I've tried this:
OW::getDocument()->addScript($this->pluginCssUrl . 'file.css')
But it does not work!
or if not, can be done like this?
OW::getDocument()->addScript($this->pluginStaticUrl . 'css/file.css')
Thank you in advance for the answers to be given to me