Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • _zp_captcha
  • _zp_HTML_cache
  • admin_approval
  • Album
  • AlbumBase
  • AlbumZip
  • AMFReader
  • AMFStream
  • AnyFile
  • AnyFile_Options
  • Auth_OpenID
  • Auth_OpenID_AlreadySigned
  • Auth_OpenID_AssociateRequest
  • Auth_OpenID_Association
  • Auth_OpenID_AuthRequest
  • Auth_OpenID_AX
  • Auth_OpenID_AX_AttrInfo
  • Auth_OpenID_AX_Error
  • Auth_OpenID_AX_FetchRequest
  • Auth_OpenID_AX_FetchResponse
  • Auth_OpenID_AX_KeyValueMessage
  • Auth_OpenID_AX_Message
  • Auth_OpenID_AX_StoreRequest
  • Auth_OpenID_AX_StoreResponse
  • Auth_OpenID_BcMathWrapper
  • Auth_OpenID_CancelResponse
  • Auth_OpenID_CheckAuthRequest
  • Auth_OpenID_CheckIDRequest
  • Auth_OpenID_Consumer
  • Auth_OpenID_ConsumerResponse
  • Auth_OpenID_CryptUtil
  • Auth_OpenID_DatabaseConnection
  • Auth_OpenID_Decoder
  • Auth_OpenID_DiffieHellman
  • Auth_OpenID_DiffieHellmanSHA1ConsumerSession
  • Auth_OpenID_DiffieHellmanSHA1ServerSession
  • Auth_OpenID_DiffieHellmanSHA256ConsumerSession
  • Auth_OpenID_DiffieHellmanSHA256ServerSession
  • Auth_OpenID_DumbStore
  • Auth_OpenID_Encoder
  • Auth_OpenID_EncodingError
  • Auth_OpenID_Extension
  • Auth_OpenID_FailureResponse
  • Auth_OpenID_FileStore
  • Auth_OpenID_GenericConsumer
  • Auth_OpenID_GmpMathWrapper
  • Auth_OpenID_KVForm
  • Auth_OpenID_MalformedReturnURL
  • Auth_OpenID_MalformedTrustRoot
  • Auth_OpenID_Mapping
  • Auth_OpenID_MathLibrary
  • Auth_OpenID_MDB2Store
  • Auth_OpenID_MemcachedStore
  • Auth_OpenID_Message
  • Auth_OpenID_MySQLStore
  • Auth_OpenID_NamespaceMap
  • Auth_OpenID_NoReturnToError
  • Auth_OpenID_OpenIDStore
  • Auth_OpenID_PAPE_Request
  • Auth_OpenID_PAPE_Response
  • Auth_OpenID_Parse
  • Auth_OpenID_PlainTextConsumerSession
  • Auth_OpenID_PlainTextServerSession
  • Auth_OpenID_PostgreSQLStore
  • Auth_OpenID_Request
  • Auth_OpenID_Server
  • Auth_OpenID_ServerError
  • Auth_OpenID_ServerErrorContainer
  • Auth_OpenID_ServerRequest
  • Auth_OpenID_ServerResponse
  • Auth_OpenID_ServiceEndpoint
  • Auth_OpenID_ServiceEndpointLoader
  • Auth_OpenID_SessionNegotiator
  • Auth_OpenID_SetupNeededResponse
  • Auth_OpenID_Signatory
  • Auth_OpenID_SigningEncoder
  • Auth_OpenID_SQLiteStore
  • Auth_OpenID_SQLStore
  • Auth_OpenID_SRegBase
  • Auth_OpenID_SRegRequest
  • Auth_OpenID_SRegResponse
  • Auth_OpenID_SuccessResponse
  • Auth_OpenID_TrustRoot
  • Auth_OpenID_TypeURIMismatch
  • Auth_OpenID_UntrustedReturnURL
  • Auth_OpenID_WebResponse
  • Auth_Yadis_Discovery
  • Auth_Yadis_DiscoveryResult
  • Auth_Yadis_dom
  • Auth_Yadis_domxml
  • Auth_Yadis_HTTPFetcher
  • Auth_Yadis_HTTPResponse
  • Auth_Yadis_Manager
  • Auth_Yadis_ManagerLoader
  • Auth_Yadis_ParanoidHTTPFetcher
  • Auth_Yadis_ParseHTML
  • Auth_Yadis_PHPSession
  • Auth_Yadis_PlainHTTPFetcher
  • Auth_Yadis_ProxyResolver
  • Auth_Yadis_Service
  • Auth_Yadis_SessionLoader
  • Auth_Yadis_XMLParser
  • Auth_Yadis_XRDS
  • Auth_Yadis_Yadis
  • auto_backup
  • AVCSequenceParameterSetReader
  • bxslider
  • cacheManager
  • cacheManagerFeed
  • CI_jsmin
  • CI_load
  • cloneZenphoto
  • codeIgniter_kludge
  • colorbox
  • Comment
  • comment_form
  • contactformOptions
  • crop_image
  • cycle
  • defaultCodeblocks
  • deprecated_functions
  • DownloadList
  • dynamic_locale
  • dynamicAlbum
  • elFinder_options
  • email_new_user
  • exampleMacros
  • external_auth
  • ExternalFeed
  • externalFeed_options
  • favorites
  • favoritesOptions
  • federated_logon
  • feed
  • fieldExtender
  • flag_thumbnail
  • Gallery
  • galleryArticles
  • getID3
  • getid3_aac
  • getid3_apetag
  • getid3_flv
  • getid3_handler
  • getid3_id3v1
  • getid3_id3v2
  • getid3_lib
  • getid3_lyrics3
  • getid3_mp3
  • getid3_mpeg
  • getid3_quicktime
  • getid3_swf
  • GoogleMap
  • Googlemaps
  • googleVerifyOptions
  • hitcounter
  • HTML
  • htmlmetatags
  • http_auth
  • Image
  • image_effects
  • internal_deprecations
  • ipBlocker
  • jcarousel
  • jPlayer
  • jplayer_options
  • jquery_rating
  • JSMin
  • lib_GD_Options
  • lib_Imagick_Options
  • lib_NoGraphics
  • MediaObject
  • menu_manager
  • MergedRSS
  • MergedRSSOptions
  • mobile
  • Mobile_Detect
  • mobileTheme
  • multipleLayoutOptions
  • null_seo
  • OAuthConsumer
  • OAuthDataStore
  • OAuthRequest
  • OAuthServer
  • OAuthSignatureMethod
  • OAuthSignatureMethod_HMAC_SHA1
  • OAuthSignatureMethod_PLAINTEXT
  • OAuthSignatureMethod_RSA_SHA1
  • OAuthToken
  • OAuthUtil
  • pagedThumbsNav
  • pagedthumbsOptions
  • PclZip
  • PersistentObject
  • PHPMailer
  • PlainText
  • POP3
  • print_album_menu
  • pseudoPlayer
  • publishContent
  • quota_manager
  • reCaptcha
  • ReCaptchaResponse
  • register_user
  • rewriteRules
  • rewriteTokens
  • RSS
  • RSS_internal_deprecations
  • rss_options
  • search_statistics
  • SearchEngine
  • security_logger
  • seo_locale
  • Services_JSON
  • Services_JSON_Error
  • setupexternalFeed
  • setupRSS
  • show_not_loggedin
  • sitemap
  • slideshow
  • SMTP
  • static_html_cache
  • tagsuggest
  • TextObject
  • TextObject_internal_deprecations
  • TextObject_Options
  • ThemeObject
  • themeSwitcher
  • tinymce4Options
  • tinyURL
  • Transientimage
  • tweet
  • TwitterOAuth
  • UploadHandler
  • user_expiry
  • user_groups
  • user_logout_options
  • userAddressFields
  • utf8
  • Video
  • Video_internal_deprecations
  • VideoObject_Options
  • viewer_size_image_options
  • WEBdocs
  • WEBdocs_Options
  • xmpMetadata
  • Zenpage
  • Zenpage_internal_deprecations
  • ZenpageCategory
  • zenpagecms
  • ZenpageItems
  • ZenpageNews
  • ZenpagePage
  • ZenpageRoot
  • Zenphoto_Administrator
  • Zenphoto_Authority
  • zenphoto_org_news
  • zenphoto_seo
  • zenphotoDonate
  • ZipStream
  • zp_PHPMailer
  • zpCaptcha
  • zpFunctions
  • zpLegacySpam
  • zpMutex
  • zpSimpleSpam
  • zpTrivialSpam

Exceptions

  • BadFunctionCallException
  • BadMethodCallException
  • Exception
  • getid3_exception
  • JSMin_UnterminatedCommentException
  • JSMin_UnterminatedRegExpException
  • JSMin_UnterminatedStringException
  • LogicException
  • OAuthExcept
  • phpmailerException

Functions

  • __autoload
  • _escape_xref
  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • accessAllAlbums
  • add_context
  • addalbumsToDatabase
  • addCategoriesToDatabase
  • addGeoCoord
  • addItem
  • addPagesToDatabase
  • addPluginScript
  • addPluginType
  • addSubalbumMenus
  • admin_album_list
  • admin_securityChecks
  • admin_showupdate
  • adminPageNav
  • adminToolbox
  • albumNumber
  • applyMacros
  • Auth_OpenID_arrangeByType
  • Auth_OpenID_AX_checkAlias
  • Auth_OpenID_AX_toTypeURIs
  • Auth_OpenID_bestMatchingService
  • Auth_OpenID_checkFieldName
  • Auth_OpenID_checkSessionType
  • Auth_OpenID_checkTimestamp
  • Auth_OpenID_detectMathLibrary
  • Auth_OpenID_discover
  • Auth_OpenID_discoverURI
  • Auth_OpenID_discoverWithoutYadis
  • Auth_OpenID_discoverWithYadis
  • Auth_OpenID_discoverXRI
  • Auth_OpenID_extractReturnURL
  • Auth_OpenID_findOPLocalIdentifier
  • Auth_OpenID_getAllAssociationTypes
  • Auth_OpenID_getAllowedReturnURLs
  • Auth_OpenID_getAuthorityPattern
  • Auth_OpenID_getAvailableSessionTypes
  • Auth_OpenID_getDefaultAssociationOrder
  • Auth_OpenID_getDefaultGen
  • Auth_OpenID_getDefaultMod
  • Auth_OpenID_getDefaultNegotiator
  • Auth_OpenID_getEncodedPattern
  • Auth_OpenID_getEncryptedNegotiator
  • Auth_OpenID_getEscapeRE
  • Auth_OpenID_getMathLib
  • Auth_OpenID_getOnlyEncryptedOrder
  • Auth_OpenID_getOpenIDConsumerTypeURIs
  • Auth_OpenID_getOpenIDTypeName
  • Auth_OpenID_getOpenIDTypeURIs
  • Auth_OpenID_getOPOrUserServices
  • Auth_OpenID_getSecretSize
  • Auth_OpenID_getSessionTypes
  • Auth_OpenID_getSupportedAssociationTypes
  • Auth_OpenID_getUnreserved
  • Auth_OpenID_getURIPattern
  • Auth_OpenID_getURLIllegalCharRE
  • Auth_OpenID_HMACSHA1
  • Auth_OpenID_HMACSHA256
  • Auth_OpenID_include_init
  • Auth_OpenID_isError
  • Auth_OpenID_isOpenID1
  • Auth_OpenID_legacy_discover
  • Auth_OpenID_makeOpenIDEndpoints
  • Auth_OpenID_math_extensions
  • Auth_OpenID_mkNonce
  • Auth_OpenID_noMathSupport
  • Auth_OpenID_pct_encoded_replace
  • Auth_OpenID_pct_encoded_replace_unreserved
  • Auth_OpenID_registerNamespaceAlias
  • Auth_OpenID_remove_dot_segments
  • Auth_OpenID_removeNamespaceAlias
  • Auth_OpenID_returnToMatches
  • Auth_OpenID_setNoMathSupport
  • Auth_OpenID_SHA1
  • Auth_OpenID_SHA256
  • Auth_OpenID_splitNonce
  • Auth_OpenID_supportsSReg
  • Auth_OpenID_urinorm
  • Auth_OpenID_verifyReturnTo
  • Auth_Yadis_array_scramble
  • Auth_Yadis_escapeForIRI
  • Auth_Yadis_getCanonicalID
  • Auth_Yadis_getDefaultProxy
  • Auth_Yadis_getEscapeRE
  • Auth_Yadis_getIPrivateChars
  • Auth_Yadis_getNSMap
  • Auth_Yadis_getServiceEndpoints
  • Auth_Yadis_getSupportedExtensions
  • Auth_Yadis_getUCSChars
  • Auth_Yadis_getXMLParser
  • Auth_Yadis_getXRDExpiration
  • Auth_Yadis_getXrefRE
  • Auth_Yadis_getXRIAuthorities
  • Auth_Yadis_identifierScheme
  • Auth_Yadis_iriToURI
  • Auth_Yadis_pct_escape_unicode
  • Auth_Yadis_providerIsAuthoritative
  • Auth_Yadis_rootAuthority
  • Auth_Yadis_setDefaultParser
  • Auth_Yadis_startswith
  • Auth_Yadis_toIRINormal
  • Auth_Yadis_toURINormal
  • Auth_Yadis_XRI
  • Auth_Yadis_XRIAppendArgs
  • authorSelector
  • build_query
  • build_url
  • bulkActionRedirect
  • bulkTags
  • byteConvert
  • cacheImage
  • checkAccess
  • checkAlbumimagesort
  • checkAlbumParentid
  • checkAlbumPassword
  • checkChosenItemStatus
  • checkChosenMenuset
  • checked
  • checkFolder
  • checkForEmptyTitle
  • checkForGuest
  • checkForPage
  • checkForPassword
  • checkForUpdate
  • checkHitcounterDisplay
  • checkIfChecked
  • checkIfLockedNews
  • checkIfLockedPage
  • checkIfNew
  • checkInstall
  • checkLayoutUseForImages
  • checkNewsAccess
  • checkNewsCategoryPassword
  • checkObjectsThumb
  • checkPagePassword
  • checkPageValidity
  • checkParentLayouts
  • checkPublishDates
  • checkRequiredField
  • checkSelectedAlbum
  • checkSignature
  • cleanAlbum
  • cleanHTML
  • clearSitemapCache
  • clonedFrom
  • codeblocktabsJS
  • comment_form_addComment
  • comment_form_handle_comment
  • comment_form_PaginationJS
  • comment_form_postcomment
  • comment_form_print10Most
  • comment_form_visualEditor
  • commentFormUseCaptcha
  • commentReply
  • commentsAllowed
  • consolidatedEditMessages
  • copyLayoutSelection
  • copyThemeDirectory
  • countArticles
  • countCombiNews
  • createMenuIfNotExists
  • createRelatedItemsResultArray
  • cron_starter
  • currentRelativeURL
  • customOptions
  • dateDiff
  • datepickerJS
  • dateTimeConvert
  • db_affected_rows
  • db_close
  • db_collation
  • db_connect
  • db_count
  • db_create
  • db_create_table
  • db_error
  • db_fetch_assoc
  • db_fetch_row
  • db_free_result
  • db_getSQLmode
  • db_insert_id
  • db_LIKE_escape
  • db_list_fields
  • db_name
  • db_num_rows
  • db_permissions
  • db_quote
  • db_setSQLmode
  • db_show
  • db_software
  • db_table_update
  • db_truncate_table
  • debug404
  • debugLog
  • debugLogBacktrace
  • debugLogVar
  • defaultCodeblocks_codebox
  • deleteArticle
  • deleteCategory
  • deleteItem
  • deleteLayoutSelection
  • deletePage
  • deleteThemeDirectory
  • detect_fetcher
  • detect_math
  • detect_query_corruption
  • detect_random
  • detect_stores
  • detect_xml
  • dircopy
  • displayError
  • doIncludes
  • elFinder_admin_tabs
  • elFinder_tinymce
  • enableExtension
  • escape
  • executeRSS
  • exitZP
  • exposeZenPhotoInformations
  • extensionEnabled
  • fetchComments
  • filesystemToInternal
  • filter_extractReturnURL
  • filter_MatchesAnyOpenIDConsumerType
  • filter_MatchesAnyOpenIDType
  • filterImageQuery
  • fix_path_redirect
  • formatList
  • fullText
  • galleryAlbumsPerPage
  • genAlbumList
  • generateCaptcha
  • generateLanguageList
  • generateListFromArray
  • generateListFromFiles
  • generateRadiobuttonsFromArray
  • generateSitemapCacheFile
  • generateSitemapIndexCacheFile
  • generateUnorderedListFromArray
  • get_AnyFile_suffixes
  • get_context
  • get_filterScript
  • get_instance
  • get_language_string
  • getAdminThumb
  • getAlbumArray
  • getAlbumBreadcrumb
  • getAlbumBreadcrumbAdmin
  • getAlbumCustomData
  • getAlbumData
  • getAlbumDate
  • getAlbumDesc
  • getAlbumFolder
  • getAlbumGeodata
  • getAlbumId
  • getAlbumInherited
  • getAlbumLinkURL
  • getAlbumLocation
  • getAlbumPage
  • getAlbumPlace
  • getAlbumStatistic
  • getAlbumThumb
  • getAlbumTitle
  • getAlbumURL
  • getAllAccessibleAlbums
  • getAllAlbums
  • getAllArticleDates
  • getAllCategories
  • getAllDates
  • getAllowedTags
  • getAllSubAlbumIDs
  • getAllSubalbums
  • getAllTagsCount
  • getAllTagsFromAlbum
  • getAllTagsFromAlbum_multi_unique
  • getAllTagsFromZenpage
  • getAllTagsUnique
  • getAllTranslations
  • getAnnotatedAlbumTitle
  • getAnnotatedImageTitle
  • getArticles
  • getAuthor
  • getBare
  • getBareAlbumDesc
  • getBareAlbumTitle
  • getBareGalleryDesc
  • getBareGalleryTitle
  • getBareImageDesc
  • getBareImageTitle
  • getBareNewsAlbumTitle
  • getBareNewsTitle
  • getBarePageTitle
  • getCategory
  • getCategoryID
  • getCategoryLink
  • getCategoryParentID
  • getCategorySortOrder
  • getCategoryTitle
  • getCheckboxState
  • getCodeblock
  • getCombiNews
  • getCommentAddress
  • getCommentAuthorEmail
  • getCommentAuthorLink
  • getCommentAuthorName
  • getCommentAuthorSite
  • getCommentBody
  • getCommentCount
  • getCommentDate
  • getCommentDateTime
  • getCommentErrors
  • getCommentsAllowed
  • getCommentStored
  • getCommentTime
  • getConsumer
  • getContentShorten
  • getCurrentMenuItem
  • getCurrentNewsArchive
  • getCurrentNewsCategory
  • getCurrentNewsCategoryID
  • getCurrentNewsCategoryParentID
  • getCurrentNewsPage
  • getCurrentPage
  • getCurrentTheme
  • getCustomAlbumThumb
  • getCustomAlbumThumbMaxSpace
  • getCustomImageURL
  • getCustomPageURL
  • getCustomSizedImageMaxSpace
  • getCustomSizedImageThumbMaxSpace
  • getDefaultHeight
  • getDefaultSizedImage
  • getDefaultWidth
  • getDownloadLink
  • getdownloadList
  • getDownloadURL
  • getE
  • getEnabledPlugins
  • getExpiryDatePost
  • getFavoritesURL
  • getField
  • getFirstImageURL
  • getFullHeight
  • getFullImageURL
  • getFullNewsImage
  • getFullWidth
  • getGalleryDesc
  • getGalleryIndexURL
  • getGalleryTitle
  • getGeoCoord
  • getHeadTitle
  • getHitcounter
  • getImageArgs
  • getImageCacheFilename
  • getImageCachePostfix
  • getImageCity
  • getImageCountry
  • getImageCustomData
  • getImageData
  • getImageDate
  • getImageDesc
  • getImageEXIFData
  • getImageGeodata
  • getImageID
  • getImageLinkURL
  • getImageLocation
  • getImageMetaData
  • getImageParameters
  • getImageProcessorURI
  • getImageProcessorURIFromCacheName
  • getImageRotation
  • getImageSortOrder
  • getImageState
  • getImageStatistic
  • getImageThumb
  • getImageTitle
  • getImageURI
  • getImageURL
  • getItem
  • getItemByID
  • getItemTitleAndURL
  • getjPlayerSkinCSS
  • getjPlayerSkins
  • getLanguageArray
  • getLanguageFlag
  • getLastImageURL
  • getLatestComments
  • getLatestNews
  • getLatestZenpageComments
  • getLayout
  • getLayoutSelector
  • getLink
  • getLinkHTML
  • getLogTabs
  • getMacros
  • getMainSiteName
  • getMainSiteURL
  • getManagedAlbumList
  • getMaxSpaceContainer
  • getMenuFromLink
  • getMenuItemChilds
  • getMenuItems
  • getMenumanagerPredicessor
  • getMenumanagerSuccessor
  • getMenuSetSelector
  • getMenuVisibility
  • getMimeString
  • getNestedAlbumList
  • getNewsAdminOption
  • getNewsAdminOptionPath
  • getNewsAlbumName
  • getNewsAlbumTitle
  • getNewsAlbumURL
  • getNewsArchivePath
  • getNewsArchiveURL
  • getNewsAuthor
  • getNewsCategories
  • getNewsCategoryCustomData
  • getNewsCategoryDesc
  • getNewsCategoryPath
  • getNewsCategoryURL
  • getNewsContent
  • getNewsContentShorten
  • getNewsCustomData
  • getNewsDate
  • getNewsExtraContent
  • getNewsID
  • getNewsImageTags
  • getNewsIndexURL
  • getNewsLink
  • getNewsPagesStatistic
  • getNewsPathNav
  • getNewsReadMore
  • getNewsTitle
  • getNewsTitleLink
  • getNewsTitlePath
  • getNewsType
  • getNewsURL
  • getNewsVideoContent
  • getNextAlbum
  • getNextAlbumURL
  • getNextImageThumb
  • getNextImageURL
  • getNextNewsPageURL
  • getNextNewsURL
  • getNextPageURL
  • getNextPrevNews
  • getNotViewableAlbums
  • getNotViewableImages
  • getNumAlbums
  • getNumAllSubalbums
  • getNumImages
  • getNumNews
  • getNumPages
  • getNumSubalbums
  • getOpenIDURL
  • getOption
  • getOptionFromDB
  • getOptionList
  • getPageAuthor
  • getPageContent
  • getPageCustomData
  • getPageDate
  • getPageExtraContent
  • getPageID
  • getPageLastChangeDate
  • getPageLinkPath
  • getPageLinkURL
  • getPageNavList
  • getPageNumURL
  • getPageParentID
  • getPageRedirect
  • getPages
  • getPageSelector
  • getPageSortorder
  • getPageTitle
  • getPageTitleLink
  • getPageURL
  • getParentAlbums
  • getParentAlbumsAdmin
  • getParentBreadcrumb
  • getParentItems
  • getParentMenuItems
  • getParentNewsCategories
  • getParentPages
  • getPasswordProtectImage
  • getPHPFiles
  • getPlugin
  • getPluginFiles
  • getPluginTabs
  • getPrevAlbum
  • getPrevAlbumURL
  • getPrevImageThumb
  • getPrevImageURL
  • getPrevNewsPageURL
  • getPrevNewsURL
  • getPrevPageURL
  • getProtectedImageURL
  • getRandomImages
  • getRandomImagesAlbum
  • getRating
  • getRelatedItems
  • getRequestURI
  • getReturnTo
  • getRSSHeaderLink
  • getRSSLink
  • getScheme
  • getSearchDate
  • getSearchURL
  • getSearchWords
  • getSelectedLayout
  • getSerializedArray
  • getSetClause
  • getSiteHomeURL
  • getSitemapAlbumList
  • getSitemapAlbums
  • getSitemapGoogleImageVideoExtras
  • getSitemapGoogleLoopIndex
  • getSitemapImages
  • getSitemapIndexLinks
  • getSitemapZenpageNewsArticles
  • getSitemapZenpageNewsCategories
  • getSitemapZenpageNewsIndex
  • getSitemapZenpagePages
  • getSizeCustomImage
  • getSizeDefaultImage
  • getSizeDefaultThumb
  • getSizedImageURL
  • getSizeFullImage
  • getStore
  • getSubCategories
  • getSubtabs
  • getSuffix
  • getTagCountByAccess
  • getTagOrder
  • getTags
  • gettext_pl
  • gettext_th
  • getTheme
  • getThemeFiles
  • getThemeOption
  • getTimezones
  • getTinyMCE4ConfigFiles
  • getTitle
  • getTotalArticles
  • getTotalImagesIn
  • getTotalNewsPages
  • getTotalPages
  • getTrustRoot
  • getUnprotectedImageURL
  • getUrAlbum
  • getURL
  • getUserIP
  • getUserLocale
  • getVersion
  • getViewerImageSize
  • getWatermarkParam
  • getWatermarkPath
  • getWatermarks
  • getWhereClause
  • getXSRFToken
  • getZenpageHitcounter
  • getZenpageRSSHeaderLink
  • getZenpageRSSLink
  • getZenpageStatistic
  • googleVerifyHead
  • handleSearchParms
  • hasDynamicAlbumSuffix
  • hasNextImage
  • hasNextPage
  • hasPrevImage
  • hasPrevPage
  • hitcounter
  • html_decode
  • html_encode
  • html_encodeTagged
  • httpsRedirect
  • httpUploadHandler
  • httpUploadHandler_admin_tabs
  • i18nSetLocale
  • imageBlurGD
  • imageDebug
  • imageError
  • imageNumber
  • imgSrcURI
  • in_context
  • inNewsCategory
  • inProtectedNewsCategory
  • installSignature
  • instrument
  • inSubNewsCategoryOf
  • internalToFilesystem
  • inventMenuItem
  • iptc_make_tag
  • is_AdminEditPage
  • is_connected
  • is_GalleryNewsType
  • is_News
  • is_NewsArchive
  • is_NewsArticle
  • is_NewsCategory
  • is_NewsPage
  • is_NewsType
  • is_Pages
  • is_valid_email_zp
  • is_valid_image
  • is_valid_other_type
  • is_zip
  • isAlbumClass
  • isAlbumPage
  • isArchive
  • isHandledAlbum
  • isImageClass
  • isImagePage
  • isImagePhoto
  • isImageVideo
  • isLandscape
  • isMyAlbum
  • isMyNews
  • isMyPage
  • isolate
  • isProtectedAlbum
  • isProtectedNewsCategory
  • isProtectedPage
  • isSubNewsCategoryOf
  • isValidURL
  • jQueryUpload_head
  • jQueryUpload_headers
  • jQueryUploadHandler
  • jQueryUploadHandler_admin_tabs
  • js_encode
  • json_decode
  • json_encode
  • kses
  • kses_array_lc
  • kses_attr
  • kses_bad_protocol
  • kses_bad_protocol_once
  • kses_bad_protocol_once2
  • kses_check_attr_val
  • kses_decode_entities
  • kses_hair
  • kses_hook
  • kses_html_error
  • kses_js_entities
  • kses_no_null
  • kses_normalize_entities
  • kses_normalize_entities2
  • kses_split
  • kses_split2
  • kses_stripslashes
  • kses_version
  • ksesProcess
  • layoutSelector
  • layoutSelector_album
  • listDBUses
  • listDirectoryFiles
  • listUses
  • load_zenpage_news
  • load_zenpage_pages
  • loadLocalOptions
  • log_message
  • lookupSortKey
  • macro_admin_tabs
  • macroList_show
  • makeAlbumCurrent
  • makeImageCurrent
  • makeSpecialImageName
  • markRelease_button
  • mb_strlen
  • mb_strpos
  • mb_strrpos
  • mb_strtolower
  • mb_strtoupper
  • mb_substr
  • mb_substr_count
  • menu_admin_toolbox_global
  • menu_tabs
  • minDiff
  • mkdir_recursive
  • my_truncate_string
  • myts_date
  • newAlbum
  • newImage
  • next_album
  • next_comment
  • next_image
  • next_news
  • next_page
  • ngettext_pl
  • ngettext_th
  • normalizeColumns
  • omsAdditions
  • openedForComments
  • parse_query
  • parse_size
  • parseAllowedTags
  • parseHttpAcceptLanguage
  • passAlbums
  • passImages
  • pathurlencode
  • PclZipUtilCopyBlock
  • PclZipUtilOptionText
  • PclZipUtilPathInclusion
  • PclZipUtilPathReduction
  • PclZipUtilRename
  • PclZipUtilTranslateWinPath
  • PHPMailerAutoload
  • populateManagedObjectsList
  • postAlbumSort
  • postIndexDecode
  • postIndexEncode
  • prefix
  • prepareAlbumPage
  • prepareCustomPage
  • prepareImagePage
  • prepareIndexPage
  • print404status
  • print_language_string_list
  • printAddToFavorites
  • printAdminFooter
  • printAdminHeader
  • printAdminRightsTable
  • printAdminToolbox
  • printAlbumBreadcrumb
  • printAlbumButtons
  • printAlbumCustomData
  • printAlbumData
  • printAlbumDate
  • printAlbumDesc
  • printAlbumEditForm
  • printAlbumEditRow
  • printAlbumLegend
  • printAlbumLink
  • printAlbumLocation
  • printAlbumMap
  • printAlbumMenu
  • printAlbumMenuJump
  • printAlbumMenuList
  • printAlbumMenuListAlbum
  • printAlbumPlace
  • printAlbumRating
  • printAlbumsSelector
  • printAlbumStatistic
  • printAlbumStatisticItem
  • printAlbumThumbImage
  • printAlbumTitle
  • printAlbumURL
  • printAlbumZip
  • printAllDates
  • printAllNewsCategories
  • printAllTags
  • printAllTagsAs
  • printAllTagsFromAlbum
  • printAllTagsFromZenpage
  • printAnnotatedAlbumTitle
  • printAnnotatedImageTitle
  • printArticleCategories
  • printArticleDatesDropdown
  • printArticlesPerPageDropdown
  • printBareAlbumDesc
  • printBareAlbumTitle
  • printBareGalleryDesc
  • printBareGalleryTitle
  • printBareImageDesc
  • printBareImageTitle
  • printBareNewsTitle
  • printBarePageTitle
  • printBulkActions
  • printCaptcha
  • printCategoriesStatistic
  • printCategoryCheckboxListEntry
  • printCategoryDropdown
  • printCategoryListSortableTable
  • printCategorySelection
  • printCodeblock
  • printCodeblockEdit
  • printCommentAuthorLink
  • printCommentErrors
  • printCommentForm
  • printContactForm
  • printCurrentNewsArchive
  • printCurrentNewsCategory
  • printCustomAlbumThumbImage
  • printCustomAlbumThumbMaxSpace
  • printCustomMenu
  • printCustomPageSelector
  • printCustomPageURL
  • printCustomSizedImage
  • printCustomSizedImageMaxHeight
  • printCustomSizedImageMaxSpace
  • printCustomSizedImageThumbMaxSpace
  • printDefaultSizedImage
  • printDownloadAlbumZipURL
  • printDownloadLink
  • printDownloadLinkAlbumZip
  • printdownloadList
  • printDownloadURL
  • printEditable
  • printEditCommentLink
  • printEditDropdown
  • printExpired
  • printFavoritesLink
  • printFavoritesURL
  • printField
  • printGalleryDesc
  • printGalleryIndexURL
  • printGalleryTitle
  • printGoogleMap
  • printHeadTitle
  • printHomeLink
  • printImageCustomData
  • printImageData
  • printImageDate
  • printImageDesc
  • printImageDiv
  • printImageEXIFData
  • printImageID
  • printImageLink
  • printImageMap
  • printImageMetadata
  • printImageRating
  • printImageSortOrder
  • printImageStatistic
  • printImageThumb
  • printImageTitle
  • printImageURL
  • printItemEditLink
  • printItemsList
  • printItemsListTable
  • printItemStatusDropdown
  • printjCarouselThumbNav
  • printjPlayerPlaylist
  • printLanguageSelector
  • printLatestAlbums
  • printLatestComments
  • printLatestImages
  • printLatestImagesByDate
  • printLatestImagesByMtime
  • printLatestNews
  • printLatestUpdatedAlbums
  • printLatestZenpageComments
  • printLink
  • printLinkHTML
  • printLogoAndLinks
  • printManagedObjects
  • printMenuemanagerPageList
  • printMenuemanagerPageListWithNav
  • printMenumanagerBreadcrumb
  • printMenumanagerNextLink
  • printMenumanagerPrevLink
  • printMostPopularItems
  • printMostRatedAlbums
  • printMostRatedImages
  • printMostRatedItems
  • printNestedAlbumsList
  • printNestedItemsList
  • printNestedMenu
  • printNews
  • printNewsArchive
  • printNewsAuthor
  • printNewsCategories
  • printNewsCategoryCustomData
  • printNewsCategoryDesc
  • printNewsCategoryURL
  • printNewsContent
  • printNewsCustomData
  • printNewsDate
  • printNewsExtraContent
  • printNewsImageTags
  • printNewsIndexURL
  • printNewsLink
  • printNewsPageList
  • printNewsPageListWithNav
  • printNewsReadMoreLink
  • printNewsStatistic
  • printNewsTitle
  • printNewsTitleLink
  • printNewsURL
  • printNextNewsLink
  • printNextNewsPageLink
  • printNextPageLink
  • printNextPageURL
  • printPageArticleTags
  • printPageAuthor
  • printPageContent
  • printPageCustomData
  • printPageDate
  • printPagedThumbsNav
  • printPageExtraContent
  • printPageID
  • printPageLastChangeDate
  • printPageLinkURL
  • printPageList
  • printPageListWithNav
  • printPageMenu
  • printPageNav
  • printPageSelector
  • printPagesListTable
  • printPagesStatistic
  • printPageTitle
  • printPageTitleLink
  • printPageURL
  • printParentBreadcrumb
  • printParentPagesBreadcrumb
  • printPasswordForm
  • printPopularAlbums
  • printPopularImages
  • printPreloadScript
  • printPrevNewsLink
  • printPrevNewsPageLink
  • printPrevPageLink
  • printPrevPageURL
  • printPublished
  • printPublishIconLink
  • printRandomImages
  • printRating
  • printRegisterURL
  • printRegistrationForm
  • printRelatedItems
  • printRSSHeaderLink
  • printRSSLink
  • printSearchBreadcrumb
  • printSearchForm
  • printSiteHomeURL
  • printSizedImageLink
  • printSizedImageURL
  • printSlideShow
  • printSlideShowJS
  • printSlideShowLink
  • printSortableHead
  • printSortOrderDropdown
  • printSubPagesExcerpts
  • printSubtabs
  • printTabs
  • printTags
  • printThumbNav
  • printTopRatedAlbums
  • printTopRatedImages
  • printTopRatedItems
  • printUnpublishedDropdown
  • printUserLogin_out
  • printUserSizeImage
  • printUserSizeSelector
  • printVersion
  • printZenJavascripts
  • printZenpageIconLegend
  • printZenpageItemsBreadcrumb
  • printZenpageNewsCategorySelector
  • printZenpagePagesSelector
  • printZenpageRSSHeaderLink
  • printZenpageRSSLink
  • printZenpageStatistic
  • printZenphotoLink
  • process_language_string_save
  • processAlbumBulkActions
  • processAlbumEdit
  • processCodeblockSave
  • processCommentBulkActions
  • processCredentials
  • processCustomOptionSave
  • processEditSelection
  • processExpired
  • processImageBulkActions
  • processImageEdit
  • processManagedObjects
  • processMenuBulkActions
  • processOrder
  • processRights
  • processTags
  • processZenpageBulkActions
  • propSizes
  • publishItem
  • purgeOption
  • query
  • query_full_array
  • query_single_row
  • rc4
  • read_exif_data_protected
  • readTags
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • reconfigureAction
  • reconfigureCS
  • reconfigurePage
  • recordMissing
  • rem_context
  • removeParentAlbumNames
  • resetCurrentAlbum
  • restore_context
  • reveal
  • rewrite_get_album_image
  • rewrite_path
  • rewrite_path_zenpage
  • RSS_Channel
  • RSS_Retrieve
  • RSS_Tags
  • rulesList
  • run
  • safe_fnmatch
  • safe_glob
  • sanitize
  • sanitize_numeric
  • sanitize_path
  • sanitize_script
  • sanitize_string
  • sanitizeRedirect
  • save_context
  • saveLayoutSelection
  • saveZenphotoLayoutSelection
  • search_quote
  • secureServer
  • seo_cleanup_button
  • seoFriendly
  • seoFriendlyJS
  • set_context
  • setAlbumCustomData
  • setAlbumSubtabs
  • setImageCustomData
  • setMainDomain
  • setOption
  • setOptionDefault
  • setPluginDomain
  • setThemeColumns
  • setThemeDomain
  • setThemeOption
  • setThemeOptionDefault
  • setupAllowedMaps
  • setupCurrentLocale
  • setupDomain
  • setupTheme
  • shortenContent
  • showOrNotShowField
  • shuffle_assoc
  • signatureChange
  • site_upgrade_button
  • site_upgrade_status
  • sitemap_echonl
  • sitemap_getChangefreq
  • sitemap_getDateformat
  • sitemap_getDBLimit
  • sitemap_getISO8601Date
  • skipScheduledPublishing
  • sortByKey
  • sortByMultilingual
  • sortMultiArray
  • standardScripts
  • standardThemeOptions
  • stickyNews
  • storeConfig
  • storeTags
  • stripSuffix
  • submenuOf
  • switchLog
  • tagSelector
  • tagSuggestJS
  • tagSuggestJS_admin
  • tagSuggestJS_frontend
  • themeIsEditable
  • themeSetup
  • timezoneDiff
  • tinymce4ConfigJS
  • truncate_string
  • unpublishedZenphotoItemCheck
  • unpublishSubalbums
  • unQuote
  • unzip
  • updateArticle
  • updateCacheName
  • updateCategory
  • updateConfigItem
  • updateItemSortorder
  • updateItemsSortorder
  • updateMenuItem
  • updatePage
  • upload_extra
  • upload_form
  • upload_head
  • user_mailing_list_button
  • validateLocale
  • wordpress_import_button
  • wp_prefix
  • wp_query_full_array
  • wpimport_TryAgainError
  • XSRFdefender
  • XSRFToken
  • zenJavascript
  • zenpageAlbumImage
  • zenpageBulkActionMessage
  • zenpageHitcounter
  • zenpageJSCSS
  • zenpageOpenedForComments
  • zenpagePublish
  • zenphoto_PHPMailer
  • zenphoto_sendmail
  • zenPhotoTheme
  • zp_apply_filter
  • zp_clearCookie
  • zp_colorAllocate
  • zp_cookieEncode
  • zp_copyCanvas
  • zp_createImage
  • zp_drawRectangle
  • zp_error
  • zp_filter_slot
  • zp_filter_unique_id
  • zp_getCookie
  • zp_getFonts
  • zp_graphicsLibInfo
  • zp_handle_password
  • zp_handle_password_single
  • zp_has_filter
  • zp_image_types
  • zp_imageCanRotate
  • zp_imageColorTransparent
  • zp_imageDims
  • zp_imageFill
  • zp_imageFontHeight
  • zp_imageFontWidth
  • zp_imageFromString
  • zp_imageGet
  • zp_imageGray
  • zp_imageHeight
  • zp_imageIPTC
  • zp_imageKill
  • zp_imageLoadFont
  • zp_imageMerge
  • zp_imageOutput
  • zp_imageResizeAlpha
  • zp_imageUnsharpMask
  • zp_imageWidth
  • zp_load_album
  • zp_load_gallery
  • zp_load_image
  • zp_load_page
  • zp_load_request
  • zp_load_search
  • zp_loggedin
  • zp_mail
  • zp_register_filter
  • zp_remove_filter
  • zp_resampleImage
  • zp_rotateImage
  • zp_session_start
  • zp_setCookie
  • zp_writeString
  • zpErrorHandler
  • zpFormattedDate
  • zpRewriteURL
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  1: <?php
  2: 
  3: /**
  4:  * Zenphoto general deprecated functions
  5:  */
  6: class internal_deprecations {
  7: 
  8:     /**
  9:      * @deprecated
 10:      * @since 1.4.6
 11:      */
 12:     static function PersistentObject() {
 13:         deprecated_functions::notify(gettext('Use the instantiate method instead'));
 14:     }
 15: 
 16:     /**
 17:      * @deprecated
 18:      * @since 1.4.6
 19:      */
 20:     public static function next_album() {
 21:         deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType() and setSortDirection() object methods at the head of your script.'));
 22:     }
 23: 
 24:     /**
 25:      * @deprecated
 26:      * @since 1.4.6
 27:      */
 28:     public static function next_image() {
 29:         deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType() and setSortDirection() object methods at the head of your script.'));
 30:     }
 31: 
 32:     /**
 33:      * @deprecated
 34:      * @since 1.4.6
 35:      */
 36:     public static function getSearchURL() {
 37:         deprecated_functions::notify(gettext('Pass array("albums" => array(album, album, ...)) for the object list.'));
 38:     }
 39: 
 40:     /**
 41:      * @deprecated
 42:      * @since 1.4.6
 43:      */
 44:     public static function getGalleryIndexURL() {
 45:         deprecated_functions::notify(gettext('The parameter to getGalleryIndexURL() is deprecated. Use getCustomPageURL() instead for custom pages.'));
 46:     }
 47: 
 48:     /**
 49:      * @deprecated
 50:      * @since 1.4.6
 51:      */
 52:     public static function setSortDirection() {
 53:         deprecated_functions::notify(gettext('The parameter order album::setSortDirection($what, $val) is deprecated. Use album::setSortDirection($val, $what) instead.'));
 54:     }
 55: 
 56:     /**
 57:      * @deprecated
 58:      * @since 1.4.6
 59:      */
 60:     static function getFolder() {
 61:         deprecated_functions::notify(gettext('Use the getFilename() method instead'));
 62:     }
 63: 
 64:     /**
 65:      * @deprecated
 66:      * @since 1.4.6
 67:      */
 68:     static function getImageLink() {
 69:         deprecated_functions::notify(gettext('Use the getLink() method instead'));
 70:     }
 71: 
 72:     /**
 73:      * @deprecated
 74:      * @since 1.4.6
 75:      */
 76:     static function getAlbumLink() {
 77:         deprecated_functions::notify(gettext('Use the getLink() method instead'));
 78:     }
 79: 
 80:     /**
 81:      * @deprecated
 82:      * @since 1.4.6
 83:      */
 84:     static function getAlbumSortType() {
 85:         deprecated_functions::notify(gettext('Use the getSortType() method instead'));
 86:     }
 87: 
 88:     /**
 89:      * @deprecated
 90:      * @since 1.4.6
 91:      */
 92:     static function getAlbumThumb() {
 93:         deprecated_functions::notify(gettext('Use the getThumb() method instead'));
 94:     }
 95: 
 96:     /**
 97:      * @deprecated
 98:      * @since 1.4.6
 99:      */
100:     static function setAlbumThumb() {
101:         deprecated_functions::notify(gettext('Use the setThumb() method instead'));
102:     }
103: 
104:     /**
105:      * @deprecated
106:      * @since 1.4.6
107:      */
108:     static function setSubalbumSortType($sorttype) {
109:         deprecated_functions::notify(gettext('Use the setSortType() method instead'));
110:     }
111: 
112: }
113: 
114: /**
115:  * @deprecated
116:  * @since 1.2.7
117:  */
118: function printImageEXIFData() {
119:     deprecated_functions::notify(gettext('Use printImageMetadata().'));
120:     if (isImageVideo()) {
121: 
122:     } else {
123:         printImageMetadata();
124:     }
125: }
126: 
127: /**
128:  * @deprecated
129:  * @since 1.2.7
130:  */
131: function printCustomSizedImageMaxHeight($maxheight) {
132:     deprecated_functions::notify(gettext('Use printCustomSizedImageMaxSpace().'));
133:     if (getFullWidth() === getFullHeight() OR getDefaultHeight() > $maxheight) {
134:         printCustomSizedImage(getImageTitle(), null, null, $maxheight, null, null, null, null, null, null);
135:     } else {
136:         printDefaultSizedImage(getImageTitle());
137:     }
138: }
139: 
140: /**
141:  * @deprecated
142:  * @since 1.2.7
143:  */
144: function getCommentDate($format = NULL) {
145:     deprecated_functions::notify(gettext('Use getCommentDateTime().'));
146:     if (is_null($format)) {
147:         $format = DATE_FORMAT;
148:         $time_tags = array('%H', '%I', '%R', '%T', '%r', '%H', '%M', '%S');
149:         foreach ($time_tags as $tag) { // strip off any time formatting
150:             $t = strpos($format, $tag);
151:             if ($t !== false) {
152:                 $format = trim(substr($format, 0, $t));
153:             }
154:         }
155:     }
156:     global $_zp_current_comment;
157:     return myts_date($format, $_zp_current_comment['date']);
158: }
159: 
160: /**
161:  * @deprecated
162:  * @since 1.2.7
163:  */
164: function getCommentTime($format = '%I:%M %p') {
165:     deprecated_functions::notify(gettext('Use getCommentDateTime().'));
166:     global $_zp_current_comment;
167:     return myts_date($format, $_zp_current_comment['date']);
168: }
169: 
170: /**
171:  * @deprecated
172:  * @since 1.2.7
173:  */
174: function hitcounter($option = 'image', $viewonly = false, $id = NULL) {
175:     deprecated_functions::notify(gettext('Use getHitcounter().'));
176:     return @call_user_func('getHitcounter');
177: }
178: 
179: /**
180:  * @deprecated
181:  * @since 1.2.7
182:  */
183: function my_truncate_string($string, $length) {
184:     deprecated_functions::notify(gettext('Use truncate_string().'));
185:     return truncate_string($string, $length);
186: }
187: 
188: /**
189:  * @deprecated
190:  * @since 1.2.7
191:  */
192: function getImageEXIFData() {
193:     deprecated_functions::notify(gettext('Use getImageMetaData().'));
194:     global $_zp_current_image;
195:     if (is_null($_zp_current_image))
196:         return false;
197:     return $_zp_current_image->getMetaData();
198: }
199: 
200: /**
201:  * @deprecated
202:  * @since 1.2.8
203:  */
204: function getAlbumPlace() {
205:     deprecated_functions::notify(gettext('Use getAlbumLocation().'));
206:     global $_zp_current_album;
207:     if (is_object($_zp_current_album)) {
208:         return $_zp_current_album->getLocation();
209:     } else {
210:         return false;
211:     }
212: }
213: 
214: /**
215:  * @deprecated
216:  * @since 1.2.8
217:  */
218: function printAlbumPlace() {
219:     deprecated_functions::notify(gettext('Use printAlbumLocation().'));
220:     printAlbumLocation();
221: }
222: 
223: /**
224:  * @deprecated
225:  * @since 1.2.8
226:  */
227: function printEditable($context, $field, $editable = NULL, $editclass = 'unspecified', $messageIfEmpty = true, $convertBR = false, $override = false, $label = '') {
228:     deprecated_functions::notify(gettext('No longer supported.'));
229:     printField($context, $field, $convertBR, $override, $label);
230: }
231: 
232: /**
233:  * @deprecated
234:  * @since 1.2.9
235:  */
236: function rewrite_path_zenpage($rewrite = '', $plain = '') {
237:     deprecated_functions::notify(gettext('Use rewrite_path().'));
238:     return rewrite_path($rewrite, $plain);
239: }
240: 
241: /**
242:  * @deprecated
243:  * @since 1.2.9
244:  */
245: function getNumSubalbums() {
246:     deprecated_functions::notify(gettext('Use getNumAlbums().'));
247:     return getNumAlbums();
248: }
249: 
250: /**
251:  * @deprecated
252:  * @since 1.2.9
253:  */
254: function getAllSubalbums($param = NULL) {
255:     deprecated_functions::notify(gettext('Use getAllAlbums().'));
256:     return getAllAlbums($param);
257: }
258: 
259: /**
260:  * @deprecated
261:  * @since 1.4.0
262:  */
263: function addPluginScript($script) {
264:     deprecated_functions::notify(gettext('Register a “theme_head” filter.'));
265:     global $_zp_plugin_scripts;
266:     $_zp_plugin_scripts[] = $script;
267:     if (!zp_has_filter('theme_head', 'deprecated_functions::addPluginScript()')) {
268:         zp_register_filter('theme_head', 'deprecated_functions::addPluginScript()');
269:     }
270: }
271: 
272: /**
273:  * @deprecated
274:  * @since 1.4.0
275:  */
276: function zenJavascript() {
277:     deprecated_functions::notify(gettext('Use zp_apply_filter("theme_head").'));
278:     zp_apply_filter('theme_head');
279: }
280: 
281: /**
282:  * @deprecated
283:  * @since 1.4.0
284:  */
285: function normalizeColumns($albumColumns = NULL, $imageColumns = NULL) {
286:     deprecated_functions::notify(gettext('Use instead the theme options for images and albums per row.'), E_USER_NOTICE);
287:     global $_firstPageImages;
288:     setOption('albums_per_row', $albumColumns);
289:     setOption('images_per_row', $imageColumns);
290:     setThemeColumns();
291:     return $_firstPageImages;
292: }
293: 
294: /**
295:  * @deprecated
296:  * @since 1.4.0
297:  */
298: function printParentPagesBreadcrumb($before = '', $after = '') {
299:     deprecated_functions::notify(gettext('Use printZenpageItemsBreadcrumb().'));
300:     printZenpageItemsBreadcrumb($before, $after);
301: }
302: 
303: /**
304:  * @deprecated
305:  * @since 1.4.0
306:  */
307: function isMyAlbum($albumname, $action) {
308:     deprecated_functions::notify(gettext('Use instead the Album class method isMyItem().'), E_USER_NOTICE);
309:     $album = newAlbum($albumname);
310:     return $album->isMyItem($action);
311: }
312: 
313: /**
314:  * @deprecated
315:  * @since 1.4.0
316:  */
317: function checkForPassword($hint, $show) {
318:     deprecated_functions::notify(gettext('There is no need for this function as password handling is done by the core.'), E_USER_NOTICE);
319:     return false;
320: }
321: 
322: /**
323:  * @deprecated
324:  * @since 1.4.0
325:  */
326: function printAlbumMap($zoomlevel = NULL, $defaultmaptype = NULL, $width = NULL, $height = NULL, $text = NULL, $toggle = true, $id = 'googlemap', $firstPageImages = NULL, $mapselections = NULL, $addwiki = NULL, $background = NULL, $mapcontrol = NULL, $maptypecontrol = NULL, $customJS = NULL) {
327:     deprecated_functions::notify(gettext('The google-maps plugin is deprecated. Convert to GoogleMap.'));
328:     if (function_exists('printGoogleMap'))
329:         printGoogleMap($text, $id, $toggle, NULL, NULL);
330: }
331: 
332: /**
333:  * @deprecated
334:  * @since 1.4.0
335:  */
336: function printImageMap($zoomlevel = NULL, $defaultmaptype = NULL, $width = NULL, $height = NULL, $text = NULL, $toggle = true, $id = 'googlemap', $mapselections = NULL, $addwiki = NULL, $background = NULL, $mapcontrol = NULL, $maptypecontrol = NULL, $customJS = NULL) {
337:     deprecated_functions::notify(gettext('The google-maps plugin is deprecated. Convert to GoogleMap.'));
338:     if (function_exists('printGoogleMap'))
339:         printGoogleMap($text, $id, $toggle, NULL, NULL);
340: }
341: 
342: /**
343:  * @deprecated
344:  * @since 1.4.0
345:  */
346: function setupAllowedMaps($defaultmap, $allowedmaps) {
347:     deprecated_functions::notify(gettext('The google-maps plugin is deprecated. Convert to GoogleMap.'));
348: }
349: 
350: /**
351:  * @deprecated
352:  * @since 1.4.0
353:  */
354: function printPreloadScript() {
355:     deprecated_functions::notify(gettext('printPreloadScript is deprecated. It is a helper for a specific theme and should be placed within that theme’s "functions.php" script.'));
356:     global $_zp_current_image;
357:     $size = getOption('image_size');
358:     if (hasNextImage() || hasPrevImage()) {
359:         echo "<script type=\"text/javascript\">\n// <!-- <![CDATA[\n";
360:         if (hasNextImage()) {
361:             $nextimg = $_zp_current_image->getNextImage();
362:             echo "  nextimg = new Image();\n  nextimg.src = \"" . $nextimg->getSizedImage($size) . "\";\n";
363:         }
364:         if (hasPrevImage()) {
365:             $previmg = $_zp_current_image->getPrevImage();
366:             echo "  previmg = new Image();\n  previmg.src = \"" . $previmg->getSizedImage($size) . "\";\n";
367:         }
368:         echo "</script>\n\\ ]]> -->\n";
369:     }
370: }
371: 
372: /**
373:  * @deprecated
374:  * @since 1.4.1
375:  */
376: function isProtectedAlbum($album = NULL) {
377:     deprecated_functions::notify(gettext('Use the album class method <code>isProtected()</code> instead.'));
378:     global $_zp_current_album;
379:     if (is_null($album))
380:         $album = $_zp_current_album;
381:     return $album->isProtected();
382: }
383: 
384: /**
385:  * @deprecated
386:  * @since 1.4.2
387:  */
388: function getRSSHeaderLink($option, $linktext = '', $lang = '') {
389:     deprecated_functions::notify(gettext('Use the template function <code>getRSSLink()</code> instead. NOTE: While this function gets a full html link <code>getRSSLink()</code> just returns the URL.'));
390:     global $_zp_current_album;
391:     $host = html_encode($_SERVER["HTTP_HOST"]);
392:     $protocol = PROTOCOL . '://';
393:     if (empty($lang)) {
394:         $lang = getOption("locale");
395:     }
396:     switch ($option) {
397:         case "Gallery":
398:             if (getOption('RSS_album_image')) {
399:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;lang=" . $lang . "\" />\n";
400:             }
401:         case "Album":
402:             if (getOption('RSS_album_image')) {
403:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;albumname=" . urlencode($_zp_current_album->getFileName()) . "&amp;lang=" . $lang . "\" />\n";
404:             }
405:         case "Collection":
406:             if (getOption('RSS_album_image')) {
407:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss&amp;albumtitle=" . urlencode(getAlbumTitle()) . "&amp;folder=" . urlencode($_zp_current_album->getFileName()) . "&amp;lang=" . $lang . "\" />\n";
408:             }
409:         case "Comments":
410:             if (getOption('RSS_comments')) {
411:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;lang=" . $lang . "\" />\n";
412:             }
413:         case "Comments-image":
414:             if (getOption('RSS_comments')) {
415:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;id=" . getImageID() . "&amp;title=" . urlencode(getImageTitle()) . "&amp;type=image&amp;lang=" . $lang . "\" />\n";
416:             }
417:         case "Comments-album":
418:             if (getOption('RSS_comments')) {
419:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;id=" . getAlbumID() . "&amp;title=" . urlencode(getAlbumTitle()) . "&amp;type=album&amp;lang=" . $lang . "\" />\n";
420:             }
421:         case "AlbumsRSS":
422:             if (getOption('RSS_album_image')) {
423:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode($linktext) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=comments&amp;lang=" . $lang . "&amp;albumsmode\" />\n";
424:             }
425:     }
426: }
427: 
428: /**
429:  * @deprecated
430:  * @since 1.4.2
431:  */
432: function generateCaptcha(&$img) {
433:     deprecated_functions::notify(gettext('Use $_zp_captcha->getCaptcha($prompt). Note that you will require updating your code to the new function.'));
434:     return $img = NULL;
435: }
436: 
437: /**
438:  * @deprecated
439:  * @since 1.4.3
440:  */
441: function printAlbumZip() {
442:     deprecated_functions::notify(gettext('Use downloadList plugin <code>printDownloadAlbumZipURL()</code>.'));
443:     global $_zp_current_album;
444:     enableExtension('downloadList', 20 | ADMIN_PLUGIN | THEME_PLUGIN, false);
445:     require_once(SERVERPATH . '/' . ZENFOLDER . '/' . PLUGIN_FOLDER . '/downloadList.php');
446:     printDownloadAlbumZipURL(gettext('Download a zip file of this album'), $_zp_current_album);
447: }
448: 
449: /**
450:  * @deprecated
451:  * @since 1.4.3
452:  */
453: function printImageDiv() {
454:     deprecated_functions::notify(gettext('Use printImageThumb().'));
455:     if (!isset($_GET['sortable'])) {
456:         echo '<a href="' . html_encode(getImageURL()) . '" title="' . html_encode(getImageTitle()) . '">';
457:     }
458:     printImageThumb(getImageTitle());
459:     if (!isset($_GET['sortable'])) {
460:         echo '</a>';
461:     }
462: }
463: 
464: /**
465:  * @deprecated
466:  * @since 1.4.3
467:  */
468: function getImageID() {
469:     deprecated_functions::notify(gettext('Use $_zp_current_image->getID().'));
470:     if (!in_context(ZP_IMAGE))
471:         return false;
472:     global $_zp_current_image;
473:     return $_zp_current_image->getID();
474: }
475: 
476: /**
477:  * @deprecated
478:  * @since 1.4.3
479:  */
480: function printImageID() {
481:     deprecated_functions::notify(gettext('Use echo “image_”.$_zp_current_image->getID().'));
482:     if (!in_context(ZP_IMAGE))
483:         return false;
484:     global $_zp_current_image;
485:     echo "image_" . getImageID();
486: }
487: 
488: /**
489:  * @deprecated
490:  * @since 1.4.3
491:  */
492: function getAlbumId() {
493:     deprecated_functions::notify(gettext('Use echo “image_”.$_zp_current_album->getID().'));
494:     global $_zp_current_album;
495:     if (is_null($_zp_current_album)) {
496:         return null;
497:     }
498:     return $_zp_current_album->getID();
499: }
500: 
501: /**
502:  * @deprecated
503:  * @since 1.4.3
504:  */
505: function resetCurrentAlbum() {
506:     deprecated_functions::notify(gettext('Just what do you expect this does?'));
507:     global $_zp_images, $_zp_current_album;
508:     $_zp_images = NULL;
509:     $_zp_current_album->images = NULL;
510:     setThemeColumns();
511: }
512: 
513: /**
514:  * @deprecated
515:  * @since 1.4.3
516:  */
517: function setAlbumCustomData($val) {
518:     deprecated_functions::notify(gettext('Use object methods.'));
519:     global $_zp_current_album;
520:     $_zp_current_album->setCustomData($val);
521:     $_zp_current_album->save();
522: }
523: 
524: /**
525:  * @deprecated
526:  * @since 1.4.3
527:  */
528: function setImageCustomData($val) {
529:     deprecated_functions::notify(gettext('Use object methods.'));
530:     Global $_zp_current_image;
531:     $_zp_current_image->setCustomData($val);
532:     $_zp_current_image->save();
533: }
534: 
535: /**
536:  * @deprecated
537:  * @since 1.4.3
538:  */
539: function getImageSortOrder() {
540:     deprecated_functions::notify(gettext('Use object methods.'));
541:     if (!in_context(ZP_IMAGE))
542:         return false;
543:     global $_zp_current_image;
544:     return $_zp_current_image->getSortOrder();
545: }
546: 
547: /**
548:  * @deprecated
549:  * @since 1.4.3
550:  */
551: function printImageSortOrder() {
552:     deprecated_functions::notify(gettext('Use echo $_zp_current_image->getSortOrder().'));
553:     if (!in_context(ZP_IMAGE))
554:         return false;
555:     echo getImageSortOrder();
556: }
557: 
558: /**
559:  * @deprecated
560:  * @since 1.4.3
561:  */
562: function getFirstImageURL() {
563:     deprecated_functions::notify('');
564:     global $_zp_current_album;
565:     if (is_null($_zp_current_album))
566:         return false;
567:     $firstimg = $_zp_current_album->getImage(0);
568:     return rewrite_path("/" . pathurlencode($_zp_current_album->name) . "/" . urlencode($firstimg->filename) . IM_SUFFIX, "/index.php?album=" . pathurlencode($_zp_current_album->name) . "&image=" . urlencode($firstimg->filename));
569: }
570: 
571: /**
572:  * @deprecated
573:  * @since 1.4.3
574:  */
575: function getLastImageURL() {
576:     deprecated_functions::notify('');
577:     global $_zp_current_album;
578:     if (is_null($_zp_current_album))
579:         return false;
580:     $lastimg = $_zp_current_album->getImage($_zp_current_album->getNumImages() - 1);
581:     return rewrite_path("/" . pathurlencode($_zp_current_album->name) . "/" . urlencode($lastimg->filename) . IM_SUFFIX, "/index.php?album=" . pathurlencode($_zp_current_album->name) . "&image=" . urlencode($lastimg->filename));
582: }
583: 
584: /**
585:  * @deprecated
586:  * @since 1.4.4
587:  */
588: function getTheme(&$zenCSS, &$themeColor, $defaultColor) {
589:     deprecated_functions::notify(gettext("If you need this function copy it to your theme’s functions.php script."));
590:     global $_zp_themeroot;
591:     $themeColor = getThemeOption('Theme_colors');
592:     $zenCSS = $_zp_themeroot . '/styles/' . $themeColor . '.css';
593:     $unzenCSS = str_replace(WEBPATH, '', $zenCSS);
594:     if (!file_exists(SERVERPATH . internalToFilesystem($unzenCSS))) {
595:         $zenCSS = $_zp_themeroot . "/styles/" . $defaultColor . ".css";
596:         return ($themeColor == '');
597:     } else {
598:         return true;
599:     }
600: }
601: 
602: /**
603:  * @deprecated
604:  * @since 1.4.5
605:  */
606: function printCaptcha($preText = '', $midText = '', $postText = '') {
607:     global $_zp_captcha;
608:     deprecated_functions::notify(gettext('use $_zp_captcha->getCaptcha() and format the results as desired.'));
609:     if ($_zp_captcha && getOption('Use_Captcha')) {
610:         $captcha = $_zp_captcha->getCaptcha(gettext("Enter CAPTCHA <strong>*</strong>"));
611:         if (isset($captcha['hidden']))
612:             echo $captcha['hidden'];
613:         echo $preText;
614:         if (isset($captcha['input'])) {
615:             echo $captcha['input'];
616:             echo $midText;
617:         }
618:         if (isset($captcha['html']))
619:             echo $captcha['html'];
620:         echo $postText;
621:     }
622: }
623: 
624: /**
625:  * @deprecated
626:  * @since 1.4.5
627:  */
628: function printField($context, $field, $convertBR = NULL, $override = false, $label = '') {
629:     deprecated_functions::notify(gettext('Front end editing is not supported. Use the property specific methods.'));
630:     if (is_null($convertBR))
631:         $convertBR = !extensionEnabled('tiny_mce');
632:     switch ($context) {
633:         case 'image':
634:             global $_zp_current_image;
635:             $object = $_zp_current_image;
636:             break;
637:         case 'album':
638:             global $_zp_current_album;
639:             $object = $_zp_current_album;
640:             break;
641:         case 'pages':
642:             global $_zp_current_zenpage_page;
643:             $object = $_zp_current_zenpage_page;
644:             break;
645:         case 'news':
646:             global $_zp_current_zenpage_news;
647:             $object = $_zp_current_zenpage_news;
648:             break;
649:         default:
650:             trigger_error(sprintf(gettext('printField() invalid function call, context %X.'), $context), E_USER_NOTICE);
651:             return false;
652:     }
653:     if (!$field) {
654:         trigger_error(sprintf(gettext('printField() invalid function call, field:%s.'), $field), E_USER_NOTICE);
655:         return false;
656:     }
657:     if (!is_object($object)) {
658:         trigger_error(gettext('printField() invalid function call, not an object.'), E_USER_NOTICE);
659:         return false;
660:     }
661:     if ($override) {
662:         $text = trim($override);
663:     } else {
664:         $text = trim(get_language_string($object->get($field)));
665:     }
666:     $text = zpFunctions::unTagURLs($text);
667: 
668:     $text = html_encodeTagged($text);
669:     if ($convertBR) {
670:         $text = str_replace("\r\n", "\n", $text);
671:         $text = str_replace("\n", "<br />", $text);
672:     }
673: 
674:     if (!empty($text))
675:         echo $label;
676:     echo $text;
677: }
678: 
679: /**
680:  * @deprecated
681:  * @since 1.4.5
682:  */
683: function printAdminToolbox($id = 'admin', $customDIV = false) {
684:     deprecated_functions::notify(gettext('This feature is now done by a "theme_body_close" filter. You can remove the function call.'));
685: }
686: 
687: /**
688:  * @deprecated
689:  * @since version 1.4.6
690:  */
691: function getURL($image) {
692:     deprecated_functions::notify(gettext('Use the appropriate object method. <strong>Note:</strong> this function gives different results depending on the setting of <code>mod_rewrite</code> so which object method to use depends on what your settings were!'));
693:     return rewrite_path(pathurlencode($image->getAlbumName()) . "/" . urlencode($image->filename), "/index.php?album=" . pathurlencode($image->getAlbumName()) . "&image=" . urlencode($image->filename));
694: }
695: 
696: /**
697:  * @deprecated
698:  * @since version 1.4.6
699:  */
700: function getLink($url, $text, $title = NULL, $class = NULL, $id = NULL) {
701:     deprecated_functions::notify(gettext('use getLinkHTML()'));
702:     return getLinkHTML($url, $text, $title, $class, $id);
703: }
704: 
705: /**
706:  * @deprecated
707:  * @since version 1.4.6
708:  */
709: function printLink($url, $text, $title = NULL, $class = NULL, $id = NULL) {
710:     deprecated_functions::notify(gettext('use printLinkHTML()'));
711:     echo getLinkHTML($url, $text, $title, $class, $id);
712: }
713: 
714: /**
715:  * @deprecated
716:  * @since 1.4.6
717:  *
718:  */
719: function setPluginDomain($plugindomain) {
720:     deprecated_functions::notify(gettext('use setupDomain()'));
721:     return setupDomain($plugindomain, "plugin");
722: }
723: 
724: /**
725:  * @deprecated
726:  * @since 1.4.6
727:  *
728:  */
729: function setThemeDomain($themedomain) {
730:     deprecated_functions::notify(gettext('use setupDomain()'));
731:     return setupDomain($themedomain, "theme");
732: }
733: 
734: /**
735:  * @deprecated
736:  * @since 1.4.6
737:  *
738:  */
739: function getAlbumLinkURL($album = NULL) {
740:     deprecated_functions::notify(gettext('use getAlbumURL()'));
741:     return getAlbumURL();
742: }
743: 
744: /**
745:  * @deprecated
746:  * @since 1.4.6
747:  *
748:  */
749: function getImageLinkURL() {
750:     deprecated_functions::notify(gettext('use getImageURL()'));
751:     return getImageURL();
752: }
753: 
754: /**
755:  * @deprecated
756:  * @since 1.4.6
757:  *
758:  */
759: function printAlbumLink($text, $title, $class = NULL, $id = NULL) {
760:     deprecated_functions::notify(gettext('use printAlbumURL()'));
761:     printAlbumURL($text, $title, $class, $id);
762: }
763: 
764: /**
765:  * @deprecated
766:  * @since 1.4.6
767:  *
768:  */
769: function printImageLink($text, $title, $class = NULL, $id = NULL) {
770:     deprecated_functions::notify(gettext('use printImageURL()'));
771:     printImageURL($text, $title, $class, $id);
772: }
773: 
774: /**
775:  * @deprecated
776:  * @since 1.4.6
777:  *
778:  */
779: function printNextPageLink($text, $title = NULL, $class = NULL, $id = NULL) {
780:     deprecated_functions::notify(gettext('use printNextPageURL()'));
781:     printNextPageURL($text, $title, $class, $id);
782: }
783: 
784: /**
785:  * @deprecated
786:  * @since 1.4.6
787:  *
788:  */
789: function printPrevPageLink($text, $title = NULL, $class = NULL, $id = NULL) {
790:     deprecated_functions::notify(gettext('use printPrevPageURL()'));
791:     printPrevPageURL($text, $title, $class, $id);
792: }
793: 
794: /**
795:  * @deprecated
796:  * @since 1.4.6
797:  *
798:  */
799: function printSizedImageLink($size, $text, $title, $class = NULL, $id = NULL) {
800:     deprecated_functions::notify(gettext('use printSizedImageURL()'));
801:     printSizedImageURL($size, $text, $title, $class, $id);
802: }
803: 
804: /**
805:  * @deprecated
806:  * @since 1.4.6
807:  *
808:  */
809: function openedForComments() {
810:     deprecated_functions::notify(gettext("use the object’s getCommentsAllowed() method"));
811:     global $_zp_gallery_page, $_zp_current_image, $_zp_current_album, $_zp_current_zenpage_page, $_zp_current_zenpage_news;
812:     switch ($_zp_gallery_page) {
813:         case 'album.php':
814:             return $_zp_current_album->getCommentsAllowed();
815:         case 'image.php':
816:             return $_zp_current_image->getCommentsAllowed();
817:         case 'pages.php':
818:             return $_zp_current_zenpage_page->getCommentsAllowed();
819:         case 'news.php':
820:             if (is_NewsArticle()) {
821:                 $_zp_current_zenpage_news->getCommentsAllowed();
822:             }
823:     }
824:     return false;
825: }
826: 
827: /**
828:  * @deprecated
829:  * @since 1.4.6
830:  *
831:  */
832: function addPluginType($suffix, $objectName) {
833:     deprecated_functions::notify(gettext("use Gallery::addImageHandler()"));
834:     return Gallery::addImageHandler($suffix, $objectName);
835: }
836: 
837: /**
838:  * @deprecated
839:  * @since 1.4.6
840:  *
841:  */
842: function is_valid_image($filename) {
843:     deprecated_functions::notify(gettext("use Gallery::validImage()"));
844:     return Gallery::validImage($filename);
845: }
846: 
847: /**
848:  * @deprecated
849:  * @since 1.4.6
850:  *
851:  */
852: function is_valid_other_type($filename) {
853:     deprecated_functions::notify(gettext("use Gallery::validImageAlt()"));
854:     return Gallery::validImageAlt($filename);
855: }
856: 
857: ?>
858: 
Zenphoto doc API documentation generated by ApiGen