ZenphotoCMS 1.6.x

Deprecated

Table of Contents

zp-core/classes/class-administrator.php
zp-core/classes/class-albumbase.php
zp-core/classes/class-authority.php
zp-core/classes/class-dbbase.php
zp-core/classes/class-gallery.php
zp-core/classes/class-image.php
zp-core/classes/class-persistentobject.php
zp-core/classes/class-themeobject.php
zp-core/deprecated/functions-db.php
zp-core/deprecated/functions-graphics.php
zp-core/template-functions.php
zp-core/zp-extensions/cacheManager/deprecated-functions.php
zp-core/zp-extensions/class-video/getid3/getid3.lib.php
zp-core/zp-extensions/comment_form/functions.php
zp-core/zp-extensions/common/fieldExtender.php
zp-core/zp-extensions/deprecated-functions/deprecated-functions.php
zp-core/zp-extensions/deprecated-functions/functions.php
zp-core/zp-extensions/deprecated-functions.php
zp-core/zp-extensions/elFinder/php/elFinderConnector.class.php
zp-core/zp-extensions/elFinder/php/elFinderVolumeDriver.class.php
zp-core/zp-extensions/html_meta_tags.php
zp-core/zp-extensions/matomo.php
zp-core/zp-extensions/mobileTheme/Mobile_Detect.php
zp-core/zp-extensions/openstreetmap.php
zp-core/zp-extensions/PHPMailer/PHPMailer.php
zp-core/zp-extensions/sitemap-extended.php
zp-core/zp-extensions/zenpage/class-zenpage.php
zp-core/zp-extensions/zenpage/class-zenpagecategory.php
zp-core/zp-extensions/zenpage/class-zenpagenews.php
zp-core/zp-extensions/zenpage/class-zenpageroot.php
zp-core/zp-extensions/zenpage/deprecated-functions.php
zp-core/zp-extensions/zenpage.php

class-administrator.php

Line Element Reason
546 Zenphoto_Administrator

ZenphotoCMS 2.0 - Use the class Administrator instead

class-albumbase.php

Line Element Reason
123 AlbumBase::getFileName()

ZenphotoCMS 2.0 – Use getName() instead

135 AlbumBase::getFolder()

ZenphotoCMS 2.0 – Use getName() instead

class-authority.php

Line Element Reason
1395 Authority::checkUniqueMailaddress()

Zenphoto 2.0 – Use the method isUniqueMailaddress() instead

1489 Zenphoto_Authority

ZenphotoCMS 2.0 - Use the class Authority instead

class-dbbase.php

Line Element Reason
87 dbBase::connect()

ZenphotoCMS 2.0 - Use the class property $connection instead

451 dbBase::listFields()

ZenphotoCMS 2.0 - Use the method getFields() instead

class-gallery.php

Line Element Reason
1115 Gallery::getWebsiteTitle()

ZenphotoCMS 2.0: Use the method getParentSiteTitle() instead

1135 Gallery::setWebsiteTitle()

ZenphotoCMS 2.0: Use the method setParentSiteTitle() instead

1157 Gallery::getWebsiteURL()

ZenphotoCMS 2.0: Use the method getParentSiteURL() instead

1179 Gallery::setWebsiteURL()

ZenphotoCMS 2.0: Use the method setParentSiteURL() instead

class-image.php

Line Element Reason
245 Image::getFileName()

ZenphotoCMS 2.0 - User getName() instead

class-persistentobject.php

Line Element Reason
43 PersistentObject::__construct()

Zenphoto 1.6 - Unser instantiate() instead

class-themeobject.php

Line Element Reason
120 ThemeObject::getShow()

ZenphotoCMS 2.0 – Use isPublished() instead

131 ThemeObject::setShow()

ZenphotoCMS 2.0 – Use setPublished() instead

functions-db.php

Line Element Reason
24 db_connect()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method connect() instead.

42 query()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method of the same name instead.

59 query_single_row()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method querySingleRow() instead.

76 query_full_array()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method queryFullArray() instead.

91 db_quote()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method quote() instead.

103 db_insert_id()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method insertID() instead.

115 db_fetch_assoc()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method fetchAssoc() instead.

127 db_error()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getError() instead.

139 db_affected_rows()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getAffectedRows() instead.

151 db_fetch_row()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method fetchRow() instead.

163 db_num_rows()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getNumRows() instead.

175 db_close()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method close() instead.

187 db_software()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getSoftware() instead.

199 db_create()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method create() instead

211 db_permissions()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getPermissions() instead.

223 db_setSQLmode()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method setSQLmode() instead.

235 db_getSQLmode()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getSQLmode() instead.

245 db_collation()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getCollation() instead.

255 db_create_table()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method createTable() instead.

265 db_table_update()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method tableUpdate() instead.

275 db_show()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method show() instead.

285 db_list_fields()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method listFields() instead.

295 db_truncate_table()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method truncateTable() instead.

305 db_LIKE_escape()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method likeEscape() instead.

315 db_free_result()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method freeResult() instead.

330 prefix()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method of the same name instead.

346 getWhereClause()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method of the same name instead

363 getSetClause()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method of the same name instead

375 db_name()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getDBName() instead.

392 db_count()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method count() instead.

404 db_getServerInfo()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getServerInfo() instead.

416 db_getClientInfo()

ZenphotoCMS 2.0 Use the global object $_zp_db and the class method getClientInfo() instead.

functions-graphics.php

Line Element Reason
17 zp_imageGet()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

27 zp_imageOutput()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

37 zp_createImage()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

47 zp_imageFill()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

57 zp_imageColorTransparent()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

67 zp_copyCanvas()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

77 zp_resampleImage()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

87 zp_imageUnsharpMask()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

97 zp_imageResizeAlpha()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

107 zp_imageCanRotate()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

117 zp_rotateImage()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

127 zp_imageDims()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

137 zp_imageIPTC()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

147 zp_imageWidth()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

157 zp_imageHeight()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead

167 zp_imageMerge()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

177 zp_imageGray()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

187 zp_imageKill()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

197 zp_colorAllocate()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

207 zp_writeString()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

217 zp_drawRectangle()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

227 zp_graphicsLibInfo()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

237 zp_getFonts()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

247 zp_imageLoadFont()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

257 zp_imageFontWidth()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

267 zp_imageFontHeight()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

277 imageBlurGD()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

287 zp_imageFromString()

ZenphotoCMS 2.0 Use the global object $zp_graphics and the class method with the same name (but without the "zp" prefix) instead.

template-functions.php

Line Element Reason
538 getMainSiteName()

ZenphotoCMS 2.0: Use getParentSiteTitle() instead

547 getMainSiteURL()

ZenphotoCMS 2.0: Use getParentSiteURL() instead

3753 getSearchURL()

ZenphotoCMS 2.0 - Use SearchEngine::getSearchURL() instead

deprecated-functions.php

Line Element Reason
6 cachemanager_internal_deprecations

getid3.lib.php

Line Element Reason
811 getid3_lib::CopyFileParts()

Unused, may be removed in future versions of getID3

functions.php

Line Element Reason
1092 fetchComments()

ZenphotoCMS 2.0 - Use getComments() instead

fieldExtender.php

Line Element Reason
41 fieldExtender

ZenphotoCMS 1.6

deprecated-functions.php

Line Element Reason
26 setThemeColumns()

ZenphotoCMS 2.0 - This function is obsolete and has no functionality anymore

39 getMimeString()

ZenphotoCMS 2.0 - Use mimeTypes::getType(m() instead

56 newAlbum()

ZenphotoCMS 2.0 - Use AlbumBase::newAlbum() instead

70 isAlbumClass()

ZenphotoCMS 2.0 - Use AlbumBase::siAlbumClass() instead

86 getUrAlbum()

ZenphotoCMS 2.0 – Use $album->getUrAlbum() instead

104 newImage()

ZenphotoCMS 2.0 - Use Image::newImage() instead

118 isImageClass()

ZenphotoCMS 2.0 - Use Image::isImageClass() instead

132 search_quote()

ZenphotoCMS 2.0 - Use SearchEngine::getSearchQuote() instead

147 isImageVideo()

ZenphotoCMS 2.0 – Use the Image class method isVideo() instead

167 isImagePhoto()

ZenphotoCMS 2.0 – Use the Image class method isPhoto() instead

189 replaceOption()

Zenphoto 2.0 – Use renameOptionl() instead

203 is_valid_email_zp()

Zenphoto 2.0 – Use isValidEmail() instead

218 genAlbumList()

Zenphoto 2.0 – Use the gallery class method getAllAlbums() or getAllAlbumsFromDB() instead

232 getAllAlbums()

Zenphoto 2.0 – Use the gallery class method getAllAlbums() or getAllAlbumsFromDB() instead

248 printPopularAlbums()

Zenphoto 2.0 – Use printAlbumStatistisc() instead

256 printLatestAlbums()

Zenphoto 2.0 – Use printAlbumStatistisc() instead

264 printMostRatedAlbums()

Zenphoto 2.0 – Use printAlbumStatistisc() instead

272 printTopRatedAlbums()

Zenphoto 2.0 – Use printAlbumStatistisc() instead

280 printLatestUpdatedAlbums()

Zenphoto 2.0 – Use printAlbumStatistisc() instead

288 printPopularImages()

Zenphoto 2.0 – Use printImageStatistisc() instead

296 printTopRatedImages()

Zenphoto 2.0 – Use printImageStatistisc() instead

304 printMostRatedImages()

Zenphoto 2.0 – Use printImageStatistisc() instead

312 printLatestImages()

Zenphoto 2.0 – Use printImageStatistisc() instead

319 printLatestImagesByDate()

Zenphoto 2.0 – Use printImageStatistisc() instead

327 printLatestImagesByMtime()

Zenphoto 2.0 – Use printImageStatistisc() instead

344 filterImageQuery()

Zenphoto 2.0 - There is no direct replacement, use the general object model instead

372 getRandomImages()

Zenphoto 2.0 Use the image_album_statistics plugin function getImageStatistic()with appropiate parameters – For daily use the same plugin's function getPictureOfTheDay()

423 getRandomImagesAlbum()

Zenphoto 2.0 Use the image_album_statistic plugin function getImageStatistic() with appropriate parameters – For daily use the same plugin's function getPictureOfTheDay()

518 printRandomImages()

Zenphoto 2.0 Use the image_album_statiscic plugin function printImageStatisic()with appropiate parameters. You might need to adjust your theme's CSS.

587 cleanHTML()

Zenphoto 2.0 Use tidyHTML() instead

600 getTotalImagesIn()

Zenphoto 2.0

611 checkPublishDates()

Zenphoto 2.0 - Use themeObject::checkScheduledPublishing() instead

626 internal_deprecations::LanguageSubdomains()

Zenphoto 2.0 Use getLanguageSubdomains() instead

633 internal_deprecations::getLanguageText()

Zenphoto 2.0 Use getLanguageText() instead

640 internal_deprecations::setexifvars()

Zenphoto 2.0 Use setexifvars() instead

647 internal_deprecations::hasPrimaryScripts()

Zenphoto 2.0 Use hasPrimaryScripts() instead

654 internal_deprecations::removeDir()

Zenphoto 2.0 Use removeDir() instead

661 internal_deprecations::tagURLs()

Zenphoto 2.0 Use tagURLs() instead

668 internal_deprecations::unTagURLs()

Zenphoto 2.0 Use unTagURLs() instead

676 internal_deprecations::updateImageProcessorLink()

Zenphoto 2.0 Use updateImageProcessorLink() instead

683 internal_deprecations::pluginDebug()

Zenphoto 2.0 Use pluginDebug() instead

691 internal_deprecations::removeTrailingSlash()

Zenphoto 2.0 Use removeTrailingSlash() instead

699 internal_deprecations::tidyHTML()

Zenphoto 2.0 Use htmlTidy() instead

707 internal_deprecations::PersistentObject()

Zenphoto 2.0 Use instantiate() method

717 zpFunctions

Zenphoto 2.0

724 zpFunctions::LanguageSubdomains()

Zenphoto 2.0 Use getLanguageSubdomains()

734 zpFunctions::getLanguageText()

Zenphoto 2.0 Use getLanguageText()

744 zpFunctions::setexifvars()

Zenphoto 2.0 Use setexifvars()

754 zpFunctions::hasPrimaryScripts()

Zenphoto 2.0 Use hasPrimaryScripts()

764 zpFunctions::removeDir()

Zenphoto 2.0 Use removeDir()

774 zpFunctions::tagURLs()

Zenphoto 2.0 Use tagURLs()

784 zpFunctions::unTagURLs()

Zenphoto 2.0 Use untagURLs()

794 zpFunctions::updateImageProcessorLink()

Zenphoto 2.0 Use updateImageProcessorLink()

804 zpFunctions::pluginDebug()

Zenphoto 2.0 Use pluginDebug()

814 zpFunctions::removeTrailingSlash()

Zenphoto 2.0 Use removeTrailingSlash()

824 zpFunctions::tidyHTML()

Zenphoto 2.0 Use tidyHTML()

functions.php

Line Element Reason
15 getPHPFiles()

ZenphotoCMS 1.6

43 formatList()

ZenphotoCMS 1.6

102 listUses()

ZenphotoCMS 1.6

141 listDBUses()

ZenphotoCMS 1.6

deprecated-functions.php

Line Element Reason
106 deprecated_functions::notify()

ZenphotoCMS 2.0

elFinderConnector.class.php

Line Element Reason
30 elFinderConnector::$header

elFinderVolumeDriver.class.php

Line Element Reason
967 elFinderVolumeDriver::sessionRestart()
713 elFinderVolumeDriver::$subdirsCache

html_meta_tags.php

Line Element Reason
548 htmlmetatags::getMetaKeywords()

ZenphotoCMS 2.0

matomo.php

Line Element Reason
254 matomoStats::getOptOutiFrame()

ZenphotoCMS 2.0 - Use matomoStats::getOptOutForm()

Mobile_Detect.php

Line Element Reason
1096 Mobile_Detect::setDetectionType()

since version 2.6.9

1176 Mobile_Detect::getMobileDetectionRules()

since version 2.6.9

1203 Mobile_Detect::getMobileDetectionRulesExtended()

since version 2.6.9

1228 Mobile_Detect::getRules()

since version 2.6.9

224 Mobile_Detect::DETECTION_TYPE_MOBILE

since version 2.6.9

231 Mobile_Detect::DETECTION_TYPE_EXTENDED

since version 2.6.9

238 Mobile_Detect::VER

since version 2.6.9

316 Mobile_Detect::$detectionType

since version 2.6.9

openstreetmap.php

Line Element Reason
1072 printOpenStreetMap()

ZenphotoCMS 2.0 – Use openStreetMap::printOpenStreetMap() instead

PHPMailer.php

Line Element Reason
450 PHPMailer::$SingleTo

PHPMailer isn't a mailing list manager!

sitemap-extended.php

Line Element Reason
502 sitemap::passAlbums()

Unused

512 sitemap::passImages()

Unused

class-zenpage.php

Line Element Reason
97 Zenpage::visibleCategory()

Zenphoto 2.0 Use the method isPublic() of the ZenpageCategory class instead.

class-zenpagecategory.php

Line Element Reason
231 ZenpageCategory::getSubCategories()

ZenphotoCMS 2.0 - Use getCategories() instead

262 ZenpageCategory::isSubNewsCategoryOf()

ZenphotoCMS 2.0 - Use getCategories() instead

class-zenpagenews.php

Line Element Reason
200 ZenpageNews::categoryIsVisible()

Zenphoto 2.0 Use if($obj->isPublic() || zp_loggedin(ALL_NEWS_RIGHTS)) { … } for a equivalent check instead.

class-zenpageroot.php

Line Element Reason
59 ZenpageRoot::getTitlelink()

ZenphotoCMS 2.0 - use getName() instead

70 ZenpageRoot::setTitlelink()

ZenphotoCMS 2.0 - use setName() instead

deprecated-functions.php

Line Element Reason
12 Zenpage_internal_deprecations::visibleCategory()

Zenphoto 2.0

20 Zenpage_internal_deprecations::categoryIsVisible()

Zenphoto 2.0 Use if($obj->isPublic() || zp_loggedin(ALL_NEWS_RIGHTS)) { … } for a equivalent check instead.

27 Zenpage_internal_deprecations::expiry()

Zenphoto 2.0 Use Zenpage::processScheduledPublishing('expiredate') instead

zenpage.php

Line Element Reason
340 zenpagecms::checkForGuest()

ZenphotoCMS 2.0 - Use the checkForGuest() template function instead

Search results