-
$cfCfg
-
-
$cfDefaultComments
-
-
$cpmFetch
-
-
clearOptions
-
-
cpm
-
Creates the CpmFetch object
-
cpm
-
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.
-
cpmfetch.php
-
-
cpmfetch_dao.php
-
-
cpm_close
-
Closes down open database connections and cleans up
-
cpm_dao
-
This object handles all database transactions with the backend
-
cpm_dao
-
-
cpm_debugMode
-
Toggles cpmFetch into a debug mode (default: returns setting)
-
cpm_dtree
-
-
cpm_dtree
-
-
cpm_formatStats
-
Outputs stats based on a format submitted
-
cpm_getAlbumListFrom
-
Generates a list of Albums based
-
cpm_getCategoryList
-
-
cpm_getConfigEntry
-
Returns a named config variable.
-
cpm_getMediaCount
-
Returns number of items in the gallery, including private entries
-
cpm_getMediaCountAddedInLast
-
Returns number of items in the gallery for a time range
-
cpm_getMediaCountAddedSince
-
Returns number of items in the gallery, including private entries added since the date provided by the timestamp parameter
-
cpm_getMediaCountForAlbum
-
Returns number representing the number of items in an album, including private entries
-
cpm_getVersion
-
Return the version of CpmFetch you are running.
-
cpm_listMediaAddedOverLastDays
-
Displays a list of category, album and count over past days. Supports the setReturnType option.
-
cpm_listMediaCount
-
Gets the number of items in the gallery.
-
cpm_listMediaCountForAlbum
-
Displays number representing the number of items in an album, including private entries.
-
cpm_listMediaCountFrom
-
Returns number of items in the gallery, including private entries, as defined by source or source = "" for everything
-
cpm_setDateFormat
-
Sets the format as seen in the php DATE function to be used in rendering dates
-
cpm_setFilter
-
Limits what types of media can be selected by this program
-
cpm_setMediaPrefixes
-
Allows you to change the default media prefixes settings for large are now ignored since cpg does not support it
-
cpm_setReturnType
-
Sets how most functions will handle returning information
-
cpm_showAlbumsUpdatedOverLastDays
-
Displays a list of albums with thumbnails and count over past days
-
cpm_showCategoriesUpdatedOverLastDays
-
Displays a list of albums with icons and count over past days
-
cpm_unlock_private
-
Toggles access to non-public photos (default: false)
-
cpm_viewLastAddedMedia
-
Displays images of last added media
-
cpm_viewLastAddedMediaFrom
-
Displays images of last added media for a specific category
-
cpm_viewLastAddedMediaFromAlbum
-
Displays images of last added media for a specific album
-
cpm_viewLastAddedMediaFromCategory
-
Displays images of last added media for a specific category
-
cpm_viewLastCommentedImages
-
Displays last comments with images
-
cpm_viewLastUpdatedAlbumsFrom
-
This (in thoery returns the last updated albums and the last photo added to them
-
cpm_viewMediaByPid
-
Selects one media item by the CPG pid (Picture Id)
-
cpm_viewMostVotedMediaFrom
-
-
cpm_viewRandomMedia
-
Displays random images from database
-
cpm_viewRandomMediaFrom
-
Displays random images from specific album or category
-
cpm_viewRandomMediaFromAlbum
-
Displays random images from specific album
-
cpm_viewRandomMediaFromCategory
-
Displays random images from specific category
-
cpm_viewRandomMostViewedMediaFrom
-
-
cpm_viewRandomTopRatedMediaFrom
-
-
cpm_viewTopRatedMediaFrom
-
-
createDescription
-
-
createlink
-
Creates the href and img tags to be displayed
-
createOldFormatDescription
-
-
createTable
-
Creates a table to display images