ZenphotoCMS 1.6.2

Deprecated

Table of Contents

zp-core/admin-functions.php
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/cacheManager.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/vendor/composer/InstalledVersions.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/classes/class-zenpage.php
zp-core/zp-extensions/zenpage/classes/class-zenpagecategory.php
zp-core/zp-extensions/zenpage/classes/class-zenpagenews.php
zp-core/zp-extensions/zenpage/classes/class-zenpageroot.php
zp-core/zp-extensions/zenpage/deprecated-functions.php
zp-core/zp-extensions/zenpage.php

admin-functions.php

Line Element Reason
5321 printScheduledPublishingNotes()
  • Use printStatusNotes() instead

class-administrator.php

Line Element Reason
546 Zenphoto_Administrator
  • Use the class Administrator instead

class-albumbase.php

Line Element Reason
123 AlbumBase::getFileName()

– Use getName() instead

135 AlbumBase::getFolder()

– Use getName() instead

231 AlbumBase::getUrAlbum()

Use getUrParent() instead

class-authority.php

Line Element Reason
1395 Authority::checkUniqueMailaddress()

– Use the method isUniqueMailaddress() instead

1489 Zenphoto_Authority
  • Use the class Authority instead

class-dbbase.php

Line Element Reason
87 dbBase::connect()
  • Use the class property $connection instead
451 dbBase::listFields()
  • Use the method getFields() instead

class-gallery.php

Line Element Reason
1118 Gallery::getWebsiteTitle()

Use the method getParentSiteTitle() instead

1138 Gallery::setWebsiteTitle()

Use the method setParentSiteTitle() instead

1160 Gallery::getWebsiteURL()

Use the method getParentSiteURL() instead

1182 Gallery::setWebsiteURL()

Use the method setParentSiteURL() instead

class-image.php

Line Element Reason
246 Image::getFileName()
  • User getName() instead

class-persistentobject.php

Line Element Reason
43 PersistentObject::__construct()
  • Unser instantiate() instead

class-themeobject.php

Line Element Reason
176 ThemeObject::getShow()

– Use isPublished() instead

187 ThemeObject::setShow()

– Use setPublished() instead

functions-db.php

Line Element Reason
24 db_connect()

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

42 query()

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

59 query_single_row()

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

76 query_full_array()

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

91 db_quote()

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

103 db_insert_id()

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

115 db_fetch_assoc()

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

127 db_error()

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

139 db_affected_rows()

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

151 db_fetch_row()

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

163 db_num_rows()

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

175 db_close()

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

187 db_software()

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

199 db_create()

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

211 db_permissions()

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

223 db_setSQLmode()

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

235 db_getSQLmode()

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

245 db_collation()

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

255 db_create_table()

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

265 db_table_update()

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

275 db_show()

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

285 db_list_fields()

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

295 db_truncate_table()

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

305 db_LIKE_escape()

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

315 db_free_result()

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

330 prefix()

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

346 getWhereClause()

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

363 getSetClause()

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

375 db_name()

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

392 db_count()

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

404 db_getServerInfo()

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

416 db_getClientInfo()

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

functions-graphics.php

Line Element Reason
17 zp_imageGet()

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

27 zp_imageOutput()

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

37 zp_createImage()

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

47 zp_imageFill()

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

57 zp_imageColorTransparent()

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

67 zp_copyCanvas()

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

77 zp_resampleImage()

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

87 zp_imageUnsharpMask()

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

97 zp_imageResizeAlpha()

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

107 zp_imageCanRotate()

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

117 zp_rotateImage()

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

127 zp_imageDims()

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

137 zp_imageIPTC()

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

147 zp_imageWidth()

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

157 zp_imageHeight()

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

167 zp_imageMerge()

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

177 zp_imageGray()

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

187 zp_imageKill()

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

197 zp_colorAllocate()

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

207 zp_writeString()

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

217 zp_drawRectangle()

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

227 zp_graphicsLibInfo()

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

237 zp_getFonts()

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

247 zp_imageLoadFont()

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

257 zp_imageFontWidth()

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

267 zp_imageFontHeight()

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

277 imageBlurGD()

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

287 zp_imageFromString()

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
561 getMainSiteName()

Use getParentSiteTitle() instead

570 getMainSiteURL()

Use getParentSiteURL() instead

1822 getPasswordProtectImage()

Use printPasswordProtectedImage() instead

3815 getSearchURL()
  • Use SearchEngine::getSearchURL() instead

deprecated-functions.php

Line Element Reason
6 cachemanager_internal_deprecations

cacheManager.php

Line Element Reason
234 cacheManager::published()

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()
  • Use getComments() instead

fieldExtender.php

Line Element Reason
41 fieldExtender

deprecated-functions.php

Line Element Reason
26 setThemeColumns()
  • This function is obsolete and has no functionality anymore
39 getMimeString()
  • Use mimeTypes::getType(m() instead
56 newAlbum()
  • Use AlbumBase::newAlbum() instead
70 isAlbumClass()
  • Use AlbumBase::siAlbumClass() instead
86 getUrAlbum()

– Use $album->getUrParent() instead

104 newImage()
  • Use Image::newImage() instead
118 isImageClass()
  • Use Image::isImageClass() instead
132 search_quote()
  • Use SearchEngine::getSearchQuote() instead
147 isImageVideo()

– Use the Image class method isVideo() instead

167 isImagePhoto()

– Use the Image class method isPhoto() instead

189 replaceOption()

– Use renameOptionl() instead

203 is_valid_email_zp()

– Use isValidEmail() instead

218 genAlbumList()

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

232 getAllAlbums()

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

248 printPopularAlbums()

– Use printAlbumStatistisc() instead

256 printLatestAlbums()

– Use printAlbumStatistisc() instead

264 printMostRatedAlbums()

– Use printAlbumStatistisc() instead

272 printTopRatedAlbums()

– Use printAlbumStatistisc() instead

280 printLatestUpdatedAlbums()

– Use printAlbumStatistisc() instead

288 printPopularImages()

– Use printImageStatistisc() instead

296 printTopRatedImages()

– Use printImageStatistisc() instead

304 printMostRatedImages()

– Use printImageStatistisc() instead

312 printLatestImages()

– Use printImageStatistisc() instead

319 printLatestImagesByDate()

– Use printImageStatistisc() instead

327 printLatestImagesByMtime()

– Use printImageStatistisc() instead

344 filterImageQuery()
  • There is no direct replacement, use the general object model instead
372 getRandomImages()

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

423 getRandomImagesAlbum()

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

518 printRandomImages()

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

587 cleanHTML()

Use tidyHTML() instead

600 getTotalImagesIn()
611 checkPublishDates()
  • Use themeObject::checkScheduledPublishing() instead
626 internal_deprecations::LanguageSubdomains()

Use getLanguageSubdomains() instead

633 internal_deprecations::getLanguageText()

Use getLanguageText() instead

640 internal_deprecations::setexifvars()

Use setexifvars() instead

647 internal_deprecations::hasPrimaryScripts()

Use hasPrimaryScripts() instead

654 internal_deprecations::removeDir()

Use removeDir() instead

661 internal_deprecations::tagURLs()

Use tagURLs() instead

668 internal_deprecations::unTagURLs()

Use unTagURLs() instead

676 internal_deprecations::updateImageProcessorLink()

Use updateImageProcessorLink() instead

683 internal_deprecations::pluginDebug()

Use pluginDebug() instead

691 internal_deprecations::removeTrailingSlash()

Use removeTrailingSlash() instead

699 internal_deprecations::tidyHTML()

Use htmlTidy() instead

707 internal_deprecations::PersistentObject()

Use instantiate() method

717 zpFunctions
724 zpFunctions::LanguageSubdomains()

Use getLanguageSubdomains()

734 zpFunctions::getLanguageText()

Use getLanguageText()

744 zpFunctions::setexifvars()

Use setexifvars()

754 zpFunctions::hasPrimaryScripts()

Use hasPrimaryScripts()

764 zpFunctions::removeDir()

Use removeDir()

774 zpFunctions::tagURLs()

Use tagURLs()

784 zpFunctions::unTagURLs()

Use untagURLs()

794 zpFunctions::updateImageProcessorLink()

Use updateImageProcessorLink()

804 zpFunctions::pluginDebug()

Use pluginDebug()

814 zpFunctions::removeTrailingSlash()

Use removeTrailingSlash()

824 zpFunctions::tidyHTML()

Use tidyHTML()

functions.php

Line Element Reason
15 getPHPFiles()
43 formatList()
102 listUses()
141 listDBUses()

deprecated-functions.php

Line Element Reason
106 deprecated_functions::notify()

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
693 htmlmetatags::getMetaKeywords()

matomo.php

Line Element Reason
254 matomoStats::getOptOutiFrame()
  • Use matomoStats::getOptOutForm()

InstalledVersions.php

Line Element Reason
262 InstalledVersions::getRawData()

Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.

openstreetmap.php

Line Element Reason
1093 printOpenStreetMap()

– Use openStreetMap::printOpenStreetMap() instead

PHPMailer.php

Line Element Reason
457 PHPMailer::$SingleTo

PHPMailer isn't a mailing list manager!

sitemap-extended.php

Line Element Reason
491 sitemap::passAlbums()

Unused

501 sitemap::passImages()

Unused

class-zenpage.php

Line Element Reason
97 Zenpage::visibleCategory()

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

615 Zenpage::siftResults()

Unused and obsolete method - articles are already filtered via getArticles()

class-zenpagecategory.php

Line Element Reason
245 ZenpageCategory::getSubCategories()
  • Use getCategories() instead
276 ZenpageCategory::isSubNewsCategoryOf()
  • Use getCategories() instead

class-zenpagenews.php

Line Element Reason
205 ZenpageNews::categoryIsVisible()

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

class-zenpageroot.php

Line Element Reason
59 ZenpageRoot::getTitlelink()
  • use getName() instead
70 ZenpageRoot::setTitlelink()
  • use setName() instead

deprecated-functions.php

Line Element Reason
12 Zenpage_internal_deprecations::visibleCategory()
20 Zenpage_internal_deprecations::categoryIsVisible()

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

27 Zenpage_internal_deprecations::expiry()

Use Zenpage::processScheduledPublishing('expiredate') instead

zenpage.php

Line Element Reason
340 zenpagecms::checkForGuest()
  • Use the checkForGuest() template function instead

Search results