The plugin file
See the README.md for more.
The following variables are available in this plugin:
- $feindura <- the current Feindura class instance with all its methods (use "$feindura->..")
- $feinduraBaseURL <- the base url of the feindura folder, e.g. "http://mysite.com/cms/"
- $feinduraBasePath <- the base path of the feindura folder, e.g. "/cms/". Be aware that this is a file system path and could differ from an URI path.
- $pluginBaseURL <- the base url of this plugins folder, e.g. "http://mysite.com/cms/plugins/examplePlugin/"
- $pluginBasePath <- the base path of this plugins folder, e.g. "/cms/plugins/examplePlugin/". Be aware that this is a file system path and could differ from an URI path.
- $pluginConfig <- contains the changed settings from the "config.php" from this plugin
- $pluginName <- the folder name of this plugin
- $pluginNumber <- the number of the plugin (to differ multiple plugins on the same page)
- $pageContent <- the pageContent array of the page which contains this plugin
- the GeneralFunctions class <- for advanced methods. It's a static class so use "GeneralFunctions::exampleMethod(..);"
echo '<p>Plugin HTML</p>';