API

Article Index

We are keen to construct the gallery on a way that it is accplicable universally. For this it is necessary to integrate other components, modules und plugins which aren't written by us (e.g. Community Builder, AlphaUserPoints or JComments to just mention a few).
For some, we already developed additional add-ons which establish a connection between the particular third party extension and JoomGallery. You can find them in our downloads and here is a small summary of all of them.

Since we aren't able to create JoomGallery add-ons for every available extension or some of you have a special intent JoomGallery offers a huge API, which you may use. So this article is mainly interesting for the developers among you.

If you have decided to write your own extension for JoomGallery you will find below a full description of the JoomGallery API.
Examining already existent extensions may also help you for your own development.

The API of JoomGallery is divisible into three main areas:

  • Interface class
    The interface class offers - once included in your extension - many useful functions in order to 'communicate' with the gallery and to query information or output images.
  • Module positions
    Inside JoomGallery, several module positions are built-in which you may use like the module positions of your template. Additionally they may be loaded very individually.
  • Plugin events
    For the diverse tasks the gallery executes or while displaying the views different events are triggered to which your plugins may react und influence the gallery.

Joomla!®

Joom::Gallery is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.