Functions that are depreciated

Like any software project that evolves CpmFetch has some redundant functions that will be eliminated someday. So while they do work now, they may stop someday. In the meantime many of these functions simply call the newer versions none-the-less.

cpm_viewLastAddedMediaFromAlbum ( $rows, $columns, $albumid, [array $options = ""])

Shows the photos last added to a specific album

cpm_viewLastAddedMediaFromCategory ( $rows, $columns, $catid, [array $options = ""])

Shows the photos last added to a specific category

cpm_viewRandomMediaFromAlbum ( $rows, $columns, $albumid, [array $options = ""])

Shows random images from a specific album

cpm_viewRandomMediaFromCategory ( $rows, $columns, $catid, [array $options = ""])

Shows random images from a specific category

cpm_listMediaCountForAlbum ($albumid)

This gets the total number of media items in the CPG database for an album ID and returns based on the returntype.

cpm_getMediaCountForAlbum ($albumid)

(Depreciated use getMediaCount) This prints the total number of media items for an album ID in the CPG database.

cpm_getMediaCount ()

(Depreciated use listMediaCount) This prints the total number of media items in the CPG database.