[cpmfetch] element index

All elements
c d f g s
c
top
Method cpm
cpm::cpm() in cpmfetch.php
Creates the CpmFetch object
Class cpm
cpm in cpmfetch.php
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.
Page cpmfetch.php
cpmfetch.php in cpmfetch.php
Page cpmfetch_dao.php
cpmfetch_dao.php in cpmfetch_dao.php
Method cpm_close
cpm::cpm_close() in cpmfetch.php
Closes down open database connections and cleans up
Class cpm_dao
cpm_dao in cpmfetch_dao.php
This object handles all database transactions with the backend
Method cpm_debugMode
cpm_dao::cpm_debugMode() in cpmfetch_dao.php
Toggles cpmFetch into a debug mode (default: returns setting)
Method cpm_formatStats
cpm::cpm_formatStats() in cpmfetch.php
Outputs stats based on a format submitted
Method cpm_getAlbumListFrom
Generates a list of Albums based
Method cpm_getCategoryList
Method cpm_getMediaCountAddedInLast
Returns number of items in the gallery for a time range
Method cpm_getMediaCountAddedSince
Returns number of items in the gallery, including private entries added since the date provided by the timestamp parameter
Method cpm_getMediaCountForAlbum
Returns number representing the number of items in an album, including private entries
Method cpm_getVersion
cpm::cpm_getVersion() in cpmfetch.php
Return the version of CpmFetch you are running.
Method cpm_listMediaAddedOverLastDays
Displays a list of category, album and count over past days. Supports the setReturnType option.
Method cpm_listMediaCountFrom
Returns number of items in the gallery, including private entries, as defined by source or source = "" for everything
Method cpm_setDateFormat
cpm_dao::cpm_setDateFormat() in cpmfetch_dao.php
Sets the format as seen in the php DATE function to be used in rendering dates
Method cpm_setFilter
cpm_dao::cpm_setFilter() in cpmfetch_dao.php
Limits what types of media can be selected by this program
Method cpm_setReturnType
cpm::cpm_setReturnType() in cpmfetch.php
Sets how most functions will handle returning information
Method cpm_showAlbumsUpdatedOverLastDays
Displays a list of albums with thumbnails and count over past days
Method cpm_showCategoriesUpdatedOverLastDays
Displays a list of albums with icons and count over past days
Method cpm_unlock_private
cpm_dao::cpm_unlock_private() in cpmfetch_dao.php
Toggles access to non-public photos (default: false)
Method cpm_viewLastAddedMediaFrom
Displays images of last added media for a specific category
Method cpm_viewLastCommentedImages
Displays last comments with images
Method cpm_viewLastUpdatedAlbumsFrom
This (in thoery returns the last updated albums and the last photo added to them
Method cpm_viewMediaByPid
Selects one media item by the CPG pid (Picture Id)
Method cpm_viewMostVotedMediaFrom
Method cpm_viewRandomMediaFrom
Displays random images from specific album or category
Method cpm_viewRandomMostViewedMediaFrom
Method cpm_viewRandomTopRatedMediaFrom
Method cpm_viewTopRatedMediaFrom
d
top
Method debugPrint
cpm::debugPrint() in cpmfetch.php
Used for printing debug information. If will output the parameter directly, preceeding it with a newline, then inside HTML blockquote tag, followed by a newline.
f
top
Method formatStats
cpm_dao::formatStats() in cpmfetch_dao.php
Provides shortcuts into different function that return data
g
top
Method getAlbumCount
cpm_dao::getAlbumCount() in cpmfetch_dao.php
Returns the number of albums in the database.
Method getCategoryCount
cpm_dao::getCategoryCount() in cpmfetch_dao.php
Returns the number of categories in the CPG database
Method getCommentCount
cpm_dao::getCommentCount() in cpmfetch_dao.php
Returns the number of comments in the CPG database
Method getViewcount
cpm_dao::getViewcount() in cpmfetch_dao.php
Returns the total views across the entire CPG database
s
top
Page startingcpmfetch.php
startingcpmfetch.php in startingcpmfetch.php
c d f g s