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 zp_apply_filter

Performs a filtering operation on a zenphoto element or event. This function is called for each zenphoto element which supports plugin filtering. It is called after any zenphoto specific actions are completed and before the element is used.

Typical use: 1) Modify a variable if a function is attached to hook 'zp_hook' $zp_var = "default value"; $zp_var = zp_apply_filter( 'zp_hook', $zp_var ); 2) Trigger functions is attached to event 'zp_event' zp_apply_filter( 'zp_event' );

Returns an element which may have been filtered by a filter.

global array $_zp_filters storage for all of the filters

Package: functions
Author: Ozh
Located at functions-filter.php
Parameters summary
string $hook the name of the zenphoto element
mixed $value = '' the value of the element before filtering
Return value summary
mixed mixed
Zenphoto doc API documentation generated by ApiGen