Creates the CpmFetch object
CpmFetch allows you to easily access and display information from your Coppermine Photo Gallery (CPG) in a variety of ways. CpmFetch respects the privacy settings in your gallery and will not display images the public would not be allowed to see normally.
Closes down open database connections and cleans up
This object handles all database transactions with the backend
Toggles cpmFetch into a debug mode (default: returns setting)
Outputs stats based on a format submitted
Generates a list of Albums based
Returns number of items in the gallery for a time range
Returns number of items in the gallery, including private entries added since the date provided by the timestamp parameter
Returns number representing the number of items in an album, including private entries
Return the version of CpmFetch you are running.
Displays a list of category, album and count over past days. Supports the setReturnType option.
Returns number of items in the gallery, including private entries, as defined by source or source = "" for everything
Sets the format as seen in the php DATE function to be used in rendering dates
Limits what types of media can be selected by this program
Sets how most functions will handle returning information
Displays a list of albums with thumbnails and count over past days
Displays a list of albums with icons and count over past days
Toggles access to non-public photos (default: false)
Displays images of last added media for a specific category
Displays last comments with images
This (in thoery returns the last updated albums and the last photo added to them
Selects one media item by the CPG pid (Picture Id)
Displays random images from specific album or category