"Fossies" - the Fresh Open Source Software Archive

Member "ampache-5.0.0/docs/PLUGINS.md" (31 Aug 2021, 1814 Bytes) of package /linux/www/ampache-5.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

PLUGINS - Ampache v.4.2.0

Plugins are placed in modules/plugins; the name of the file must be "./Name/Name.plugin.php". e.g. Dummy/Dummy.plugin.php. The file must declare a corresponding class and the name of the class must be prefixed with Ampache, e.g. AmpacheDummy.

The following public variables must be declared:

The following public methods must be implemented:

The following public methods may be implemented:

Finally, for the plugin to actually be useful one or more of the following hooks should be implemented as a public method: