ZenphotoCMS 1.6.3

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/bxslider_thumb_nav.php
zp-core/zp-extensions/cacheManager/deprecated-functions.php
zp-core/zp-extensions/cacheManager.php
zp-core/zp-extensions/class-textobject.php
zp-core/zp-extensions/class-video/getid3/getid3.lib.php
zp-core/zp-extensions/class-WEBdocs.php
zp-core/zp-extensions/colorbox_js.php
zp-core/zp-extensions/comment_form/functions.php
zp-core/zp-extensions/common/fieldExtender.php
zp-core/zp-extensions/contact_form.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/GoogleMap.php
zp-core/zp-extensions/html_meta_tags.php
zp-core/zp-extensions/ipBlocker.php
zp-core/zp-extensions/jplayer.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/slideshow2.php
zp-core/zp-extensions/userAddressFields.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
5366 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

234 AlbumBase::getUrAlbum()

Use getUrParent() instead

class-authority.php

Line Element Reason
1397 Authority::checkUniqueMailaddress()

– Use the method isUniqueMailaddress() instead

1491 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

1829 getPasswordProtectImage()

Use printPasswordProtectedImage() instead

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

bxslider_thumb_nav.php

Line Element Reason
150 printThumbNav()
25 bxslider
30 bxslider::__construct()
56 bxslider::getOptionsSupported()
116 bxslider::themeJS()

deprecated-functions.php

Line Element Reason
6 cachemanager_internal_deprecations

cacheManager.php

Line Element Reason
236 cacheManager::published()

class-textobject.php

Line Element Reason
70 TextObject_Options
77 TextObject_Options::getOptionsSupported()

getid3.lib.php

Line Element Reason
823 getid3_lib::CopyFileParts()

Unused, may be removed in future versions of getID3

class-WEBdocs.php

Line Element Reason
39 WEBdocs_Options
44 WEBdocs_Options::__construct()
55 WEBdocs_Options::getOptionsSupported()
98 WEBdocs::__construct()
113 WEBdocs::getThumbImageFile()
150 WEBdocs::getContent()

colorbox_js.php

Line Element Reason
42 colorbox
47 colorbox::__construct()
60 colorbox::getOptionsSupported()
81 colorbox::handleOption()
88 colorbox::css()

functions.php

Line Element Reason
1092 fetchComments()
  • Use getComments() instead

fieldExtender.php

Line Element Reason
41 fieldExtender
52 fieldExtender::constructor()
96 fieldExtender::_addToSearch()
114 fieldExtender::_adminSave()
141 fieldExtender::_adminEdit()
183 fieldExtender::_mediaItemSave()
203 fieldExtender::_mediaItemEdit()
226 fieldExtender::_zenpageItemSave()
246 fieldExtender::_zenpageItemEdit()
265 fieldExtender::_register()
308 fieldExtender::_adminNotice()
320 fieldExtender::_getCustomData()
335 fieldExtender::_setCustomData()

contact_form.php

Line Element Reason
709 getField()

– Use contactForm::getField() instead

722 printContactForm()

– Use contactForm::printContactForm() instead

737 showOrNotShowField()

– Use contactForm::isVisibleField() instead

751 checkRequiredField()

– Use contactForm::getRequiredFieldMark() instead

764 printContactFormMacro()

– Use contactForm::printMacro() instead

777 getContactFormMacros()

– Use contactForm::getMacros() instead

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
622 internal_deprecations
628 internal_deprecations::LanguageSubdomains()

Use getLanguageSubdomains() instead

635 internal_deprecations::getLanguageText()

Use getLanguageText() instead

642 internal_deprecations::setexifvars()

Use setexifvars() instead

649 internal_deprecations::hasPrimaryScripts()

Use hasPrimaryScripts() instead

656 internal_deprecations::removeDir()

Use removeDir() instead

663 internal_deprecations::tagURLs()

Use tagURLs() instead

670 internal_deprecations::unTagURLs()

Use unTagURLs() instead

678 internal_deprecations::updateImageProcessorLink()

Use updateImageProcessorLink() instead

685 internal_deprecations::pluginDebug()

Use pluginDebug() instead

693 internal_deprecations::removeTrailingSlash()

Use removeTrailingSlash() instead

701 internal_deprecations::tidyHTML()

Use htmlTidy() instead

709 internal_deprecations::PersistentObject()

Use instantiate() method

719 zpFunctions
726 zpFunctions::LanguageSubdomains()

Use getLanguageSubdomains()

736 zpFunctions::getLanguageText()

Use getLanguageText()

746 zpFunctions::setexifvars()

Use setexifvars()

756 zpFunctions::hasPrimaryScripts()

Use hasPrimaryScripts()

766 zpFunctions::removeDir()

Use removeDir()

776 zpFunctions::tagURLs()

Use tagURLs()

786 zpFunctions::unTagURLs()

Use untagURLs()

796 zpFunctions::updateImageProcessorLink()

Use updateImageProcessorLink()

806 zpFunctions::pluginDebug()

Use pluginDebug()

816 zpFunctions::removeTrailingSlash()

Use removeTrailingSlash()

826 zpFunctions::tidyHTML()

Use tidyHTML()

functions.php

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

deprecated-functions.php

Line Element Reason
49 deprecated_functions
57 deprecated_functions::__construct()
97 deprecated_functions::tabs()
117 deprecated_functions::notify()
127 deprecated_functions::button()
147 deprecated_functions::addPluginScript()

elFinderConnector.class.php

Line Element Reason
30 elFinderConnector::$header

elFinderVolumeDriver.class.php

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

GoogleMap.php

Line Element Reason
236 log_message()
243 get_instance()
251 omsAdditions()
261 getGeoCoord()
285 addGeoCoord()
322 getImageGeodata()
336 getAlbumGeodata()
360 printGoogleMap()
46 GoogleMap
73 GoogleMap::getOptionsSupported()
163 GoogleMap::js()
197 CI_load
208 CI_jsmin
218 codeIgniter_kludge
226 codeIgniter_kludge::__construct()

html_meta_tags.php

Line Element Reason
746 htmlmetatags::getMetaKeywords()

ipBlocker.php

Line Element Reason
55 ipBlocker::__construct()
67 ipBlocker::getOptionsSupported()
109 ipBlocker::handleOption()
171 ipBlocker::handleOptionSave()
292 ipBlocker::login()
302 ipBlocker::suspended()
329 ipBlocker::adminGate()
360 ipBlocker::load()

jplayer.php

Line Element Reason
194 getjPlayerSkins()
218 getjPlayerSkinCSS()
874 printjPlayerPlaylist()
104 jplayer_options
111 jplayer_options::__construct()
130 jplayer_options::getOptionsSupported()
232 jPlayer
244 jPlayer::__construct()
273 jPlayer::getMacrojplayer()
286 jPlayer::macro()
300 jPlayer::headJS()
329 jPlayer::getPlayerConfig()
494 jPlayer::printPlayerConfig()
508 jPlayer::getPlayerHTMLparts()
555 jPlayer::getWidth()
570 jPlayer::getHeight()
581 jPlayer::setModeAndSuppliedFormat()
623 jPlayer::getCounterpartFiles()
667 jPlayer::printjPlayerPlaylist()

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

slideshow2.php

Line Element Reason
591 printSlideShowLink()
767 printSlideShow()
51 cycle
57 cycle::__construct()
89 cycle::getOptionsSupported()
211 cycle::handleOption()
223 cycle::getSlideshowPlayer()
254 cycle::getShow()
407 cycle::getSlide()
467 cycle::printSlide()
478 cycle::getSlideObj()
487 cycle::macro()
502 cycle::cycleJS()
560 cycle::is_valid()

userAddressFields.php

Line Element Reason
26 userAddressFields
33 userAddressFields::__construct()
60 userAddressFields::fields()
76 userAddressFields::addToSearch()
87 userAddressFields::adminSave()
100 userAddressFields::adminEdit()
110 userAddressFields::mediaItemSave()
121 userAddressFields::mediaItemEdit()
131 userAddressFields::zenpageItemSave()
141 userAddressFields::zenpageItemEdit()
148 userAddressFields::register()
157 userAddressFields::adminNotice()
166 userAddressFields::getCustomData()
175 userAddressFields::setCustomData()

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