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

  • zpMutex

Functions

  • accessAllAlbums
  • adminToolbox
  • albumNumber
  • build_query
  • build_url
  • checkAccess
  • checkForGuest
  • checkInstall
  • checkPageValidity
  • debugLog
  • exitZP
  • exposeZenPhotoInformations
  • filterImageQuery
  • get_filterScript
  • getAlbumArray
  • getAlbumBreadcrumb
  • getAlbumCustomData
  • getAlbumData
  • getAlbumDate
  • getAlbumDesc
  • getAlbumFolder
  • getAlbumInherited
  • getAlbumLocation
  • getAlbumPage
  • getAlbumThumb
  • getAlbumTitle
  • getAlbumURL
  • getAllAccessibleAlbums
  • getAllAlbums
  • getAllDates
  • getAllowedTags
  • getAnnotatedAlbumTitle
  • getAnnotatedImageTitle
  • getBareAlbumDesc
  • getBareAlbumTitle
  • getBareGalleryDesc
  • getBareGalleryTitle
  • getBareImageDesc
  • getBareImageTitle
  • getCodeblock
  • getCurrentPage
  • getCurrentTheme
  • getCustomAlbumThumb
  • getCustomAlbumThumbMaxSpace
  • getCustomImageURL
  • getCustomPageURL
  • getCustomSizedImageMaxSpace
  • getCustomSizedImageThumbMaxSpace
  • getDefaultHeight
  • getDefaultSizedImage
  • getDefaultWidth
  • getFullHeight
  • getFullImageURL
  • getFullWidth
  • getGalleryDesc
  • getGalleryIndexURL
  • getGalleryTitle
  • getHeadTitle
  • getImageArgs
  • getImageCacheFilename
  • getImageCachePostfix
  • getImageCity
  • getImageCountry
  • getImageCustomData
  • getImageData
  • getImageDate
  • getImageDesc
  • getImageLocation
  • getImageMetaData
  • getImageParameters
  • getImageProcessorURI
  • getImageState
  • getImageThumb
  • getImageTitle
  • getImageURI
  • getImageURL
  • getMainSiteName
  • getMainSiteURL
  • getMaxSpaceContainer
  • getNextAlbum
  • getNextAlbumURL
  • getNextImageThumb
  • getNextImageURL
  • getNextPageURL
  • getNumAlbums
  • getNumImages
  • getOption
  • getOptionList
  • getPageNavList
  • getPageNumURL
  • getPageRedirect
  • getParentAlbums
  • getParentBreadcrumb
  • getPasswordProtectImage
  • getPrevAlbum
  • getPrevAlbumURL
  • getPrevImageThumb
  • getPrevImageURL
  • getPrevPageURL
  • getProtectedImageURL
  • getRandomImages
  • getRandomImagesAlbum
  • getRequestURI
  • getSearchDate
  • getSearchURL
  • getSearchWords
  • getSiteHomeURL
  • getSizeCustomImage
  • getSizeDefaultImage
  • getSizeDefaultThumb
  • getSizedImageURL
  • getSizeFullImage
  • getSuffix
  • getTags
  • getTotalImagesIn
  • getTotalPages
  • getUnprotectedImageURL
  • getVersion
  • getWatermarkParam
  • getWatermarkPath
  • hasDynamicAlbumSuffix
  • hasNextImage
  • hasNextPage
  • hasPrevImage
  • hasPrevPage
  • imageNumber
  • imgSrcURI
  • installSignature
  • instrument
  • isAlbumPage
  • isArchive
  • isHandledAlbum
  • isImagePage
  • isLandscape
  • js_encode
  • loadLocalOptions
  • makeAlbumCurrent
  • makeImageCurrent
  • makeSpecialImageName
  • next_album
  • next_image
  • parse_query
  • parse_size
  • pathurlencode
  • print404status
  • printAlbumBreadcrumb
  • printAlbumCustomData
  • printAlbumData
  • printAlbumDate
  • printAlbumDesc
  • printAlbumLocation
  • printAlbumThumbImage
  • printAlbumTitle
  • printAlbumURL
  • printAllDates
  • printAllTagsAs
  • printAnnotatedAlbumTitle
  • printAnnotatedImageTitle
  • printBareAlbumDesc
  • printBareAlbumTitle
  • printBareGalleryDesc
  • printBareGalleryTitle
  • printBareImageDesc
  • printBareImageTitle
  • printCodeblock
  • printCustomAlbumThumbImage
  • printCustomAlbumThumbMaxSpace
  • printCustomPageURL
  • printCustomSizedImage
  • printCustomSizedImageMaxSpace
  • printCustomSizedImageThumbMaxSpace
  • printDefaultSizedImage
  • printGalleryDesc
  • printGalleryIndexURL
  • printGalleryTitle
  • printHeadTitle
  • printHomeLink
  • printImageCustomData
  • printImageData
  • printImageDate
  • printImageDesc
  • printImageMetadata
  • printImageThumb
  • printImageTitle
  • printImageURL
  • printNextPageURL
  • printPageList
  • printPageListWithNav
  • printPageNav
  • printParentBreadcrumb
  • printPasswordForm
  • printPrevPageURL
  • printRandomImages
  • printSearchBreadcrumb
  • printSearchForm
  • printSiteHomeURL
  • printSizedImageURL
  • printTags
  • printVersion
  • printZenJavascripts
  • printZenphotoLink
  • purgeOption
  • rewrite_get_album_image
  • rewrite_path
  • safe_glob
  • secureServer
  • setOption
  • setOptionDefault
  • setThemeColumns
  • stripSuffix
  • switchLog
  • themeSetup
  • zp_apply_filter
  • zp_filter_slot
  • zp_filter_unique_id
  • zp_has_filter
  • zp_register_filter
  • zp_remove_filter
  • zp_session_start
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function checkAccess

Checks to see if a password is needed

Returns true if access is allowed

The password protection is hereditary. This normally only impacts direct url access to an object since if you are going down the tree you will be stopped at the first place a password is required.

Package: functions
Since: 1.1.3
Located at template-functions.php
Parameters summary
string & $hint = NULL the password hint
boolean & $show = NULL whether there is a user associated with the password.
Return value summary
boolean bool
Zenphoto doc API documentation generated by ApiGen