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:  * These are the Zenpage functions which have been deprecated
  5:  */
  6: 
  7: class Zenpage_internal_deprecations {
  8: 
  9:   /**
 10:    * @deprecated
 11:    * @since 1.4.6
 12:    */
 13:   public static function getNextPrevNews() {
 14:     deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType() and setSortDirection() object methods at the head of your script.').gettext('This includes getNextPrevNews(), getNextNewsURL(), printNextNewsLink(), getPrevNewsURL() and printPrevNewsLink().'));
 15:   }
 16: 
 17:   /**
 18:    * @deprecated
 19:    * @since 1.4.6
 20:    */
 21:   public static function getIndex() {
 22:     deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType(), setSortDirection() and setSortSticky() object methods at the head of your script.'));
 23:   }
 24: 
 25:   /**
 26:    * @deprecated
 27:    * @since 1.4.6
 28:    */
 29:   public static function getPrevArticle() {
 30:     deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType(), setSortDirection() and setSortSticky() object methods at the head of your script.'));
 31:   }
 32: 
 33:   /**
 34:    * @deprecated
 35:    * @since 1.4.6
 36:    */
 37:   public static function getNextArticle() {
 38:     deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType(), setSortDirection() and setSortSticky() object methods at the head of your script.'));
 39:   }
 40: 
 41:   /**
 42:      * @deprecated
 43:      * @since 1.4.6
 44:      */
 45:     public static function getLatestNews() {
 46:         deprecated_functions::notify(gettext('CombiNews is deprecated. Remove the  "$option" parameter. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
 47:     }
 48: 
 49:     /**
 50:      * @deprecated
 51:      * @since 1.4.6
 52:      */
 53:     public static function printLatestNews() {
 54:         deprecated_functions::notify(gettext('CombiNews is deprecated. Remove the  "$option" parameter. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
 55:     }
 56: 
 57:     /**
 58:      * @deprecated
 59:      * @since 1.4.6
 60:      */
 61:     public static function next_news() {
 62:         deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType() and setSortDirection() object methods at the head of your script.'));
 63:     }
 64: 
 65:     /**
 66:      * @deprecated
 67:      * @since 1.4.6
 68:      */
 69:     public static function next_page() {
 70:         deprecated_functions::notify(gettext('Sort parameter options should be set instead with the setSortType() and setSortDirection() object methods at the head of your script.'));
 71:     }
 72: 
 73:     /**
 74:      * @deprecated
 75:      * @since 1.4.6
 76:      */
 77:     static function getNewsLink() {
 78:         deprecated_functions::notify(gettext('Use the getLink method instead'));
 79:     }
 80: 
 81:     /**
 82:      * @deprecated
 83:      * @since 1.4.6
 84:      */
 85:     static function getCategoryLink() {
 86:         deprecated_functions::notify(gettext('Use the getLink method instead'));
 87:     }
 88: 
 89:     /**
 90:      * @deprecated
 91:      * @since 1.4.6
 92:      */
 93:     static function getPageLink() {
 94:         deprecated_functions::notify(gettext('Use the getLink method instead'));
 95:     }
 96: 
 97:     /**
 98:      * @deprecated
 99:      * @since 1.4.6
100:      */
101:     static function getPagesLinkPath() {
102:         deprecated_functions::notify(gettext('Create an object and use its getLink method.'));
103:     }
104: 
105:     /**
106:      * @deprecated
107:      * @since 1.4.6
108:      */
109:     static function getNewsTitlePath() {
110:         deprecated_functions::notify(gettext('Create an object and use its getLink method.'));
111:     }
112: 
113:     /**
114:      * @deprecated
115:      * @since 1.4.6
116:      */
117:     static function getNewsCategoryPath() {
118:         deprecated_functions::notify(gettext('Create an object and use its getLink method.'));
119:     }
120: 
121:     /**
122:      * @deprecated
123:      * @since 1.4.6
124:      */
125:     static function getNewsArchivePath() {
126:         deprecated_functions::notify(gettext('Use getNewsArchivePath().'));
127:     }
128: 
129:     /**
130:      * @deprecated
131:      * @since 1.4.6
132:      */
133:     static function getNewsIndexURL() {
134:         deprecated_functions::notify(gettext('The Zenpage class method is deprecated. Use the global function getNewsIndexURL().'));
135:     }
136: 
137:     /**
138:      * @deprecated
139:      * @since 1.4.5
140:      */
141:     static function getSubPages() {
142:         deprecated_functions::notify(gettext('Use the Zenpage Page class->getPages() method.'));
143:     }
144: 
145: }
146: 
147: /**
148:  * @deprecated
149:  * @since 1.2.7
150:  */
151: function getZenpageHitcounter($mode = "", $obj = NULL) {
152:     deprecated_functions::notify(gettext('Use getHitcounter().'));
153:     return @call_user_func('getHitcounter');
154: }
155: 
156: /**
157:  * @deprecated
158:  * @since 1.2.7
159:  */
160: function zenpageHitcounter($option = 'pages', $viewonly = false, $id = NULL) {
161:     deprecated_functions::notify(gettext('Use getHitcounter().'));
162:     return @call_user_func('getHitcounter');
163: }
164: 
165: /**
166:  * @deprecated
167:  * @since 1.2.9
168:  */
169: function getNewsImageTags() {
170:     deprecated_functions::notify(gettext('Use object->getTags() method.'));
171:     global $_zp_current_zenpage_news;
172:     if (is_object($_zp_current_zenpage_news)) {
173:         return $_zp_current_zenpage_news->getTags();
174:     } else {
175:         return false;
176:     }
177: }
178: 
179: /**
180:  * @deprecated
181:  * @since 1.2.9
182:  */
183: function printNewsImageTags($option = 'links', $preText = NULL, $class = 'taglist', $separator = ', ', $editable = TRUE) {
184:     deprecated_functions::notify(gettext('Use printTags().'));
185:     printTags($option, $preText, $class, $separator);
186: }
187: 
188: /**
189:  * @deprecated
190:  * @since 1.4.0
191:  */
192: function getSubCategories($catlink) {
193:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getSubCategories().'), E_USER_NOTICE);
194:     $catlink = sanitize($catlink);
195:     $catobj = new ZenpageCategory($catlink);
196:     return $catobj->getSubCategories();
197: }
198: 
199: /**
200:  * @deprecated
201:  * @since 1.4.0
202:  */
203: function inProtectedNewsCategory($articleobj = NULL, $checkProtection = true) {
204:     deprecated_functions::notify(gettext('Use instead the Zenpage news class method inProtectedCategory().'), E_USER_NOTICE);
205:     global $_zp_current_zenpage_news;
206:     if (empty($articleobj) && !is_null($_zp_current_zenpage_news) && get_class($_zp_current_zenpage_news) == 'zenpagenews') {
207:         $articleobj = $_zp_current_zenpage_news;
208:     }
209:     if (!is_object($articleobj))
210:         return false;
211:     return $articleobj->inProtectedCategory();
212:     $categories = $articleobj->getCategories();
213: }
214: 
215: /**
216:  * @deprecated
217:  * @since 1.4.0
218:  */
219: function isProtectedNewsCategory($catlink = '') {
220:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method isProtected().'), E_USER_NOTICE);
221:     global $_zp_current_category;
222:     if (empty($catlink) && !is_null($_zp_current_category)) {
223:         $cat = $_zp_current_category;
224:     } else {
225:         $cat = new ZenpageCategory($catlink);
226:     }
227:     return $cat->isProtected();
228: }
229: 
230: /**
231:  * @deprecated
232:  * @since 1.4.0
233:  */
234: function getParentNewsCategories($parentid, $initparents = true) {
235:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getParents().'), E_USER_NOTICE);
236:     return getParentItems('categories', $parentid, $initparents);
237: }
238: 
239: /**
240:  * @deprecated
241:  * @since 1.4.0
242:  */
243: function getCategoryTitle($catlink) {
244:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getTitle().'), E_USER_NOTICE);
245:     $catobj = new ZenpageCategory($catlink);
246:     return $catobj->getTitle();
247: }
248: 
249: /**
250:  * @deprecated
251:  * @since 1.4.0
252:  */
253: function getCategoryID($catlink) {
254:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getID().'), E_USER_NOTICE);
255:     $catlink = sanitize($catlink);
256:     $catobj = new ZenpageCategory($catlink);
257:     return $catobj->getID();
258: }
259: 
260: /**
261:  * @deprecated
262:  * @since 1.4.0
263:  */
264: function getCategoryParentID($catlink) {
265:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getParentID().'), E_USER_NOTICE);
266:     $catobj = new ZenpageCategory($catlink);
267:     return $catobj->getParentID();
268: }
269: 
270: /**
271:  * @deprecated
272:  * @since 1.4.0
273:  */
274: function getCategorySortOrder($catlink) {
275:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method getSortOrder().'), E_USER_NOTICE);
276:     $catobj = new ZenpageCategory($catlink);
277:     return $catobj->getSortOrder();
278: }
279: 
280: /**
281:  * @deprecated
282:  * @since 1.4.0
283:  */
284: function getParentPages(&$parentid, $initparents = true) {
285:     deprecated_functions::notify(gettext('Use instead the Zenpage page class method getParents().'), E_USER_NOTICE);
286:     return getParentItems('pages', $parentid, $initparents);
287: }
288: 
289: /**
290:  * @deprecated
291:  * @since 1.4.0
292:  */
293: function isProtectedPage($pageobj = NULL) {
294:     deprecated_functions::notify(gettext('Use instead the Zenpage page class method isProtected().'), E_USER_NOTICE);
295:     global $_zp_current_zenpage_page;
296:     if (is_null($pageobj))
297:         $pageobj = $_zp_current_zenpage_page;
298:     return $pageobj->checkforGuest() != 'zp_public_access';
299: }
300: 
301: /**
302:  * @deprecated
303:  * @since 1.4.0
304:  */
305: function isMyPage($pageobj = NULL, $action) {
306:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method isMyItem().'), E_USER_NOTICE);
307:     global $_zp_current_zenpage_page;
308:     if (is_null($pageobj))
309:         $pageobj = $_zp_current_zenpage_page;
310:     return $pageobj->isMyItem($action);
311: }
312: 
313: /**
314:  * @deprecated
315:  * @since 1.4.0
316:  */
317: function checkPagePassword($pageobj, &$hint, &$show) {
318:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method checkforGuest().'), E_USER_NOTICE);
319:     return $pageobj->checkforGuest();
320: }
321: 
322: //  News category password functions
323: 
324: /**
325:  * @deprecated
326:  * @since 1.4.0
327:  */
328: function isMyNews($newsobj, $action) {
329:     deprecated_functions::notify(gettext('Use instead the Zenpage news class method isMyItem().'), E_USER_NOTICE);
330:     global $_zp_current_zenpage_news;
331:     return $_zp_current_zenpage_news->isMyItem();
332: }
333: 
334: /**
335:  * @deprecated
336:  * @since 1.4.0
337:  */
338: function checkNewsAccess($newsobj, &$hint, &$show) {
339:     deprecated_functions::notify(gettext('Use instead the Zenpage news class method checkNewsAccess().'), E_USER_NOTICE);
340:     return $newsobj->checkNewsAccess($hint, $show);
341: }
342: 
343: /**
344:  * @deprecated
345:  * @since 1.4.0
346:  */
347: function checkNewsCategoryPassword($catlink, $hint, $show) {
348:     deprecated_functions::notify(gettext('Use instead the Zenpage category class method checkforGuest().'), E_USER_NOTICE);
349:     $catobj = new ZenpageCategory($catlink);
350:     return $catobj->checkforGuest();
351: }
352: 
353: /**
354:  * @deprecated
355:  * @since 1.4.0
356:  */
357: function getCurrentNewsCategory() {
358:     deprecated_functions::notify(gettext('Use instead the Zenpage category global object variable: $_zp_current_category->getTitlelink().'), E_USER_NOTICE);
359:     global $_zp_current_category;
360:     return $_zp_current_category->getTitlelink();
361: }
362: 
363: /**
364:  * @deprecated
365:  * @since 1.4.0
366:  */
367: function getCurrentNewsCategoryID() {
368:     deprecated_functions::notify(gettext('Use instead the Zenpage category global object variable: $_zp_current_category->getID().'), E_USER_NOTICE);
369:     global $_zp_current_category;
370:     return $_zp_current_category->getID();
371: }
372: 
373: /**
374:  * @deprecated
375:  * @since 1.4.0
376:  */
377: function getCurrentNewsCategoryParentID() {
378:     deprecated_functions::notify(gettext('Use instead the Zenpage category global object variable: $_zp_current_category->getParentID().'), E_USER_NOTICE);
379:     global $_zp_current_category;
380:     return $_zp_current_category->getParentID();
381: }
382: 
383: /**
384:  * @deprecated
385:  * @since 1.4.0
386:  */
387: function inNewsCategory($catlink) {
388:     deprecated_functions::notify(gettext('Use instead the Zenpage news global object variable: $_zp_current_zenpage_news->inNewsCategory($catlink).'), E_USER_NOTICE);
389:     global $_zp_current_zenpage_news;
390:     return $_zp_current_zenpage_news->inNewsCategory($catlink);
391: }
392: 
393: /**
394:  * @deprecated
395:  * @since 1.4.0
396:  */
397: function inSubNewsCategoryOf($catlink) {
398:     deprecated_functions::notify(gettext('Use instead the Zenpage news global object variable: $_zp_current_zenpage_news->inSubNewsCategoryOf($catlink).'), E_USER_NOTICE);
399:     global $_zp_current_zenpage_news;
400:     return $_zp_current_zenpage_news->inSubNewsCategoryOf($catlink);
401: }
402: 
403: /**
404:  * @deprecated
405:  * @since 1.4.0
406:  */
407: function isSubNewsCategoryOf($catlink) {
408:     global $_zp_current_category;
409:     deprecated_functions::notify(gettext('Use instead the Zenpage category global object variable: $_zp_current_category->isSubNewsCategoryOf($catlink).'), E_USER_NOTICE);
410:     return $_zp_current_category->isSubNewsCategoryOf($catlink);
411: }
412: 
413: /**
414:  * @deprecated
415:  * @since 1.4.0
416:  */
417: function printNewsReadMoreLink($readmore = '') {
418:     deprecated_functions::notify(gettext('Functionality is now included in getNewsContent(), printNewsContent() and getContentShorten() to properly cover custom shortening via TinyMCE <pagebreak>.'), E_USER_NOTICE);
419:     $readmore = getNewsReadMore($readmore);
420:     if (!empty($readmore)) {
421:         $newsurl = getNewsURL();
422:         echo "<a href='" . $newsurl . "' title=\"" . getBareNewsTitle() . "\">" . html_encode($readmore) . "</a>";
423:     }
424: }
425: 
426: /**
427:  * @deprecated
428:  * @since 1.4.0
429:  */
430: function getNewsContentShorten($articlecontent, $shorten, $shortenindicator = '', $readmore = '') {
431:     deprecated_functions::notify(gettext('Use getContentShorten() instead. Note the read more url must be passed directly.'), E_USER_NOTICE);
432:     return getContentShorten($articlecontent, $shorten, $shortenindicator, '');
433: }
434: 
435: /**
436:  * @deprecated
437:  * @since 1.4.1
438:  */
439: function processExpired($table) {
440:     deprecated_functions::notify(gettext('This happens automatically.'));
441: }
442: 
443: /**
444:  * @deprecated
445:  * @since 1.4.1
446:  */
447: function getParentItems($mode = 'pages', &$parentid, $initparents = true) {
448:     deprecated_functions::notify(gettext('Use the method from either the ZenpagePage or the ZenpageCategory class instead.'));
449:     global $_zp_current_zenpage_page, $_zp_current_category;
450:     switch ($mode) {
451:         case 'pages':
452:             if (!is_null($_zp_current_zenpage_page))
453:                 return $_zp_current_zenpage_page->getParents();
454:             break;
455:         case 'categories':
456:             if (!is_null($_zp_current_category))
457:                 return $_zp_current_category->getParents();
458:             break;
459:     }
460: }
461: 
462: /**
463:  * @deprecated
464:  * @since 1.4.1
465:  */
466: function getPages($published = NULL) {
467:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
468:     global $_zp_zenpage;
469:     return $_zp_zenpage->getPages($published);
470: }
471: 
472: /**
473:  * @deprecated
474:  * @since 1.4.1
475:  */
476: function getArticles($articles_per_page = '', $category = '', $published = NULL, $ignorepagination = false, $sortorder = "date", $sortdirection = "desc", $sticky = true) {
477:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
478:     global $_zp_zenpage, $_zp_current_category;
479:     if (!empty($category)) {
480:         $catobj = new ZenpageCategory($category);
481:         return $catobj->getArticles($articles_per_page, $category, $published, $ignorepagination, $sortorder, $sortdirection, $sticky);
482:     } elseif (in_context(ZP_ZENPAGE_NEWS_CATEGORY)) {
483:         return $_zp_current_category->getArticles($articles_per_page, $category, $published, $ignorepagination, $sortorder, $sortdirection, $sticky);
484:     } else {
485:         return $_zp_zenpage->getArticles($articles_per_page, $category, $published, $ignorepagination, $sortorder, $sortdirection, $sticky);
486:     }
487: }
488: 
489: /**
490:  * @deprecated
491:  * @since 1.4.1
492:  */
493: function countArticles($category = '', $published = 'published', $count_subcat_articles = true) {
494:     deprecated_functions::notify(gettext('Count the articles instead.'));
495:     global $_zp_post_date;
496:     if (zp_loggedin(ZENPAGE_NEWS_RIGHTS)) {
497:         $published = "all";
498:     } else {
499:         $published = "published";
500:     }
501:     $show = "";
502:     if (empty($category)) {
503:         switch ($published) {
504:             case "published":
505:                 $show = " WHERE `show` = 1 AND date <= '" . date('Y-m-d H:i:s') . "'";
506:                 break;
507:             case "unpublished":
508:                 $show = " WHERE `show` = 0 AND date <= '" . date('Y-m-d H:i:s') . "'";
509:                 break;
510:             case "all":
511:                 $show = "";
512:                 break;
513:         }
514:         // date archive query addition
515:         if (in_context(ZP_ZENPAGE_NEWS_DATE)) {
516:             if (empty($show)) {
517:                 $and = " WHERE ";
518:             } else {
519:                 $and = " AND ";
520:             }
521:             $datesearch = $and . "date LIKE '$_zp_post_date%'";
522:         } else {
523:             $datesearch = "";
524:         }
525:         $count = db_count('news', $show . $datesearch);
526:         return $count;
527:     } else {
528:         $catobj = new ZenpageCategory($category);
529:         switch ($published) {
530:             case "published":
531:                 $show = " AND news.show = 1 AND news.date <= '" . date('Y-m-d H:i:s') . "'";
532:                 break;
533:             case "unpublished":
534:                 $show = " AND news.show = 0 AND news.date <= '" . date('Y-m-d H:i:s') . "'";
535:                 break;
536:             case "all":
537:                 $show = "";
538:                 break;
539:         }
540:         if ($count_subcat_articles)
541:             $subcats = $catobj->getSubCategories();
542:         if ($subcats && $count_subcat_articles) {
543:             $cat = " (cat.cat_id = '" . $catobj->getID() . "'";
544:             foreach ($subcats as $subcat) {
545:                 $subcatobj = new ZenpageCategory($subcat);
546:                 $cat .= "OR cat.cat_id = '" . $subcatobj->getID() . "' ";
547:             }
548:             $cat .= ") AND cat.news_id = news.id ";
549:         } else {
550:             $cat = " cat.cat_id = '" . $catobj->getID() . "' AND cat.news_id = news.id ";
551:         }
552:         $result = query_full_array("SELECT DISTINCT news.titlelink FROM " . prefix('news2cat') . " as cat, " . prefix('news') . " as news WHERE " . $cat . $show);
553:         $count = count($result);
554:         return $count;
555:     }
556: }
557: 
558: /**
559:  * Returns the articles count
560:  *
561:  * @deprecated
562:  * @since 1.4.1
563:  */
564: function getTotalArticles() {
565:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
566:     global $_zp_zenpage;
567:     return $_zp_zenpage->getTotalArticles();
568: }
569: 
570: /**
571:  * @deprecated
572:  * @since 1.4.1
573:  */
574: function getAllArticleDates($yearsonly = false) {
575:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
576:     global $_zp_zenpage;
577:     return $_zp_zenpage->getAllArticleDates($yearsonly);
578: }
579: 
580: /**
581:  * @deprecated
582:  * @since 1.4.1
583:  */
584: function getCurrentNewsPage() {
585:     deprecated_functions::notify(gettext('Use the global $_zp_page instead.'));
586:     global $_zp_page;
587:     return $_zp_page;
588: }
589: 
590: /**
591:  * @deprecated
592:  * @since 1.4.1
593:  */
594: function getCombiNews($articles_per_page = '', $mode = '', $published = NULL, $sortorder = '', $sticky = true) {
595:     deprecated_functions::notify(gettext('Combinews is removed.'));
596:     return array();
597: }
598: 
599: /**
600:  * @deprecated
601:  * @since 1.4.1
602:  */
603: function countCombiNews($published = NULL) {
604:     deprecated_functions::notify(gettext('Combinews is removed.'));
605:     return 0;
606: }
607: 
608: /**
609:  * @deprecated
610:  * @since 1.4.1
611:  */
612: function getCategoryLink($catname) {
613:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
614:     global $_zp_zenpage;
615:     return $_zp_zenpage->getCategoryLink($catname);
616: }
617: 
618: /**
619:  * @deprecated
620:  * @since 1.4.1
621:  */
622: function getCategory($id) {
623:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
624:     global $_zp_zenpage;
625:     return $_zp_zenpage->getCategory($id);
626: }
627: 
628: /**
629:  * @deprecated
630:  * @since 1.4.1
631:  */
632: function getAllCategories() {
633:     deprecated_functions::notify(gettext('Use the Zenpage class method instead.'));
634:     global $_zp_zenpage;
635:     return $_zp_zenpage->getAllCategories();
636: }
637: 
638: /**
639:  * @deprecated
640:  * @since 1.4.2
641:  */
642: function getZenpageRSSHeaderLink($option = '', $categorylink = '', $linktext = '', $lang = '') {
643:     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.'));
644:     global $_zp_current_category;
645:     $host = html_encode($_SERVER["HTTP_HOST"]);
646:     $protocol = PROTOCOL . '://';
647:     if (empty($lang)) {
648:         $lang = getOption("locale");
649:     }
650:     if ($option == 'Category') {
651:         if (!is_null($categorylink)) {
652:             $categorylink = '&amp;category=' . html_encode($categorylink);
653:         } elseif (empty($categorylink) AND ! is_null($_zp_current_category)) {
654:             $categorylink = '&amp;category=' . $_zp_current_category->getTitlelink();
655:         } else {
656:             $categorylink = '';
657:         }
658:     }
659:     switch ($option) {
660:         case "News":
661:             if (getOption('RSS_articles')) {
662:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode(strip_tags($linktext)) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=news&amp;lang=" . $lang . "\" />\n";
663:             }
664:         case "Category":
665:             if (getOption('RSS_articles')) {
666:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode(strip_tags($linktext)) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=news&amp;lang=" . $lang . $categorylink . "\" />\n";
667:             }
668:         case "NewsWithImages":
669:             if (getOption('RSS_articles')) {
670:                 return "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"" . html_encode(strip_tags($linktext)) . "\" href=\"" . $protocol . $host . WEBPATH . "/index.php?rss=news&amp;withimages&amp;lang=" . $lang . "\" />\n";
671:             }
672:     }
673: }
674: 
675: /**
676:  * @deprecated
677:  * @since 1.4.5
678:  */
679: function printLatestZenpageComments($number, $shorten = '123', $id = 'showlatestcomments', $type = "all", $itemID = "") {
680:     deprecated_functions::notify(gettext('use printLatestComments($number, $shorten, $type, $itemID, $id, $shortenindicator);'));
681:     printLatestComments($number, $shorten, $type, $itemID, $id, $shortenindicator);
682: }
683: 
684: /**
685:  * @deprecated
686:  * @since 1.4.5
687:  */
688: function getZenpageRSSLink($option = 'News', $categorylink = '', $lang = NULL) {
689:     deprecated_functions::notify(gettext('use getRSSLink($option,$lang,$categorylink).'));
690:     return getRSSLink($option, $lang, $categorylink);
691: }
692: 
693: /**
694:  * @deprecated
695:  * @since 1.4.5
696:  */
697: function printZenpageRSSLink($option = 'News', $categorylink = '', $prev = '', $linktext = '', $next = '', $printIcon = true, $class = null, $lang = NULL) {
698:     deprecated_functions::notify(gettext('use printRSSLink($option, $prev, $linktext, $next, $printIcon, $class, $lang, $categoryLink).'));
699:     if (class_exists('RSS'))
700:         printRSSLink($option, $prev, $linktext, $next, $printIcon, $class, $lang, $categoryLink);
701: }
702: 
703: /**
704:  * @deprecated
705:  * @since 1.4.5
706:  */
707: function printZenpageRSSHeaderLink($option = 'News', $categorylink = '', $linktext = '', $lang = null) {
708:     deprecated_functions::notify(gettext('use printRSSHeaderLink($option, $linktext, $lang, $categorylink).'));
709:     if (class_exists('RSS'))
710:         printRSSHeaderLink($option, $linktext, $lang, $categorylink);
711: }
712: 
713: /**
714:  * Gets the news type of a news item.
715:  * "news" for a news article or if using the CombiNews feature
716:  * "flvmovie" (for flv, fla, mp3, m4a and mp4/m4v), "image", "3gpmovie" or "quicktime"
717:  *
718:  * @param obj $newsobj optional news object to check directly outside news context
719:  * @return string
720:  * @deprecated since version 1.4.6
721:  */
722: function getNewsType($newsobj = NULL) {
723:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
724:     return 'news';
725: }
726: 
727: /**
728:  * Checks what type the current news item is (See get NewsType())
729:  *
730:  * @param string $type The type to check for
731:  *                                       "news" for a news article or if using the CombiNews feature
732:  *                                      "flvmovie" (for flv, fla, mp3, m4a and mp4/m4v), "image", "3gpmovie" or "quicktime"
733:  * @param obj $newsobj optional news object to check directly outside news context
734:  * @return bool
735:  * @deprecated since version 1.4.6
736:  */
737: function is_NewsType($type, $newsobj = NULL) {
738:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
739:     return 'news' == $type;
740: }
741: 
742: /**
743:  * CombiNews feature: A general wrapper function to check if this is a 'normal' news article (type 'news' or one of the zenphoto news types
744:  *
745:  * @return bool
746:  * @deprecated since version 1.4.6
747:  */
748: function is_GalleryNewsType() {
749:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
750:     return false;
751: }
752: 
753: /**
754:  * Helper function for getNewsContent to get video/audio content if $imageobj is a video/audio object if using Zenpage CombiNews
755:  *
756:  * @param object $imageobj The object of an image
757:  * @deprecated since version 1.4.6
758:  */
759: function getNewsVideoContent($imageobj) {
760:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
761:     return NULL;
762: }
763: 
764: /**
765:  * CombiNews feature only: returns the album title if image or movie/audio or false.
766:  *
767:  * @return mixed
768:  * @deprecated since version 1.4.6
769:  */
770: function getNewsAlbumTitle() {
771:     global $_zp_current_zenpage_news;
772:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
773:     return false;
774: }
775: 
776: /**
777:  * CombiNews feature only: returns the raw title of an album if image or movie/audio or false.
778:  *
779:  * @return string
780:  * @deprecated since version 1.4.6
781:  */
782: function getBareNewsAlbumTitle() {
783:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
784:     return strip_tags(getNewsAlbumTitle());
785: }
786: 
787: /**
788:  * CombiNews feature only: returns the album name (folder) if image or movie/audio or returns false.
789:  *
790:  * @return mixed
791:  * @deprecated since version 1.4.6
792:  */
793: function getNewsAlbumName() {
794:     global $_zp_current_zenpage_news;
795:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
796:     return false;
797: }
798: 
799: /**
800:  * CombiNews feature only: returns the url to an album if image or movie/audio or returns false.
801:  *
802:  * @return mixed
803:  * @deprecated since version 1.4.6
804:  */
805: function getNewsAlbumURL() {
806:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
807:     if (getNewsAlbumName()) {
808:         return rewrite_path(html_encode(getNewsAlbumName()), "index.php?album=" . html_encode(getNewsAlbumName()));
809:     } else {
810:         return false;
811:     }
812: }
813: 
814: /**
815:  * CombiNews feature only: Returns the fullimage link if image or movie/audio or false.
816:  *
817:  * @return mixed
818:  * @deprecated since version 1.4.6
819:  */
820: function getFullNewsImage() {
821:     global $_zp_current_zenpage_news;
822:     deprecated_functions::notify(gettext('CombiNews is deprecated. See the <a href="http://www.zenphoto.org/news/zenphoto-1.4.6">Zenphoto 1.4.6 release notes</a>.'));
823:     return false;
824: }
825: 
826: /**
827:  * @deprecated
828:  * @since 1.4.6
829:  */
830: function getPageLinkPath($titlelink) {
831:     deprecated_functions::notify(gettext('Create an object and use the object getLink'));
832:     $obj = new ZenpagePage($titlelink);
833:     return $obj->getLink();
834: }
835: 
836: /**
837:  * @deprecated
838:  * @since 1.4.6
839:  */
840: function getNewsTitlePath($titlelink) {
841:     deprecated_functions::notify(gettext('Create an object and use the object getLink'));
842:     $obj = new ZenpageNews($titlelink);
843:     return $obj->getLink();
844: }
845: 
846: /**
847:  * @deprecated
848:  * @since 1.4.6
849:  */
850: function getNewsCategoryPath($category, $page) {
851:     deprecated_functions::notify(gettext('Create an object and use the object getLink'));
852:     $obj = new ZenpageCategory($category);
853:     return $obj->getLink($page);
854: }
855: 
856: /**
857:  * @deprecated
858:  * @since 1.4.6
859:  */
860: function getNewsTitleLink() {
861:     deprecated_functions::notify(gettext('use getNewsURL()'));
862:     return getNewsURL();
863: }
864: 
865: /**
866:  * @deprecated
867:  * @since 1.4.6
868:  */
869: function printNewsTitleLink($before = '') {
870:     deprecated_functions::notify(gettext('use printNewsURL()'));
871:     printNewsURL($before);
872: }
873: 
874: /**
875:  * @deprecated
876:  * @since 1.4.6
877:  */
878: function getNewsLink($titlelink = '') {
879:     deprecated_functions::notify(gettext('use getNewsURL()'));
880:     return getNewsURL($titlelink);
881:     global $_zp_current_zenpage_news;
882: }
883: 
884: /**
885:  * @deprecated
886:  * @since 1.4.6
887:  */
888: function getPageLinkURL($titlelink = '') {
889:     deprecated_functions::notify(gettext('use getPageURL()'));
890:     return getPageURL($titlelink);
891: }
892: 
893: /**
894:  * @deprecated
895:  * @since 1.4.6
896:  */
897: function printPageLinkURL($linktext, $titlelink, $prev = '', $next = '', $class = NULL) {
898:     deprecated_functions::notify(gettext('use printPageURL()'));
899:     printPageURL($linktext, $titlelink, $prev, $next, $class);
900: }
901: 
902: /**
903:  * @deprecated
904:  * @since 1.4.6
905:  */
906: function printNewsLink($before = '') {
907:     deprecated_functions::notify(gettext('use printNewsURL()'));
908:     printNewsURL($before);
909: }
910: 
911: /**
912:  * @deprecated
913:  * @since 1.4.6
914:  */
915: function zenpageOpenedForComments() {
916:     deprecated_functions::notify(gettext("use the object’s getCommentsAllowed() method"));
917:     global $_zp_current_zenpage_news, $_zp_current_zenpage_page;
918:     if (is_NewsArticle()) {
919:         $obj = $_zp_current_zenpage_news;
920:     }
921:     if (is_Pages()) {
922:         $obj = $_zp_current_zenpage_page;
923:     }
924:     return $obj->getCommentsAllowed();
925: }
926: 
927: ?>
Zenphoto doc API documentation generated by ApiGen