Element index for package functions
Package indexes
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ z ]
a
- addPluginScript
- in file functions.php, function addPluginScript()
Allows plugins to add to the scripts output by zenJavascript()
- addPluginType
- in file functions.php, function addPluginType()
Registers a plugin as handler for a file extension
- ADMIN_RIGHTS
- in file functions.php, constant ADMIN_RIGHTS
- ALBUM
- in file template-functions.php, constant ALBUM
- ALBUMFOLDER
- in file functions.php, constant ALBUMFOLDER
- albumNumber
- in file template-functions.php, function albumNumber()
Gets the 'n' for n of m albums
- albumSortKey
- in file functions.php, function albumSortKey()
Returns the DB sort key for an album sort type
- ALL_ALBUMS_RIGHTS
- in file functions.php, constant ALL_ALBUMS_RIGHTS
- ALL_RIGHTS
- in file functions.php, constant ALL_RIGHTS
- assert_handler
- in file functions.php, function assert_handler()
Emits an assertion error
c
- CACHEFOLDER
- in file functions.php, constant CACHEFOLDER
- CAPTCHA_LENGTH
- in file functions.php, constant CAPTCHA_LENGTH
- cbone
- in file functions.php, function cbone()
Count Binary Ones
- checkAlbumPassword
- in file functions.php, function checkAlbumPassword()
Checks to see access is allowed to an album Returns true if access is allowed.
- checkAuthorization
- in file functions.php, function checkAuthorization()
Retuns the administration rights of a saved authorization code
- checkforPassword
- in file template-functions.php, function checkforPassword()
Checks to see if a password is needed displays a password form if log-on is required
- checkLogon
- in file functions.php, function checkLogon()
Checks a logon user/password against the list of admins
- checkObjectsThumb
- in file functions.php, function checkObjectsThumb()
Search for a thumbnail for the image
- checkVideoOriginal
- in file functions.php, function checkVideoOriginal()
Search for a high quality version of the video
- CHMOD_VALUE
- in file functions.php, constant CHMOD_VALUE
- COMMENT_RIGHTS
- in file functions.php, constant COMMENT_RIGHTS
- createAlbumZip
- in file functions.php, function createAlbumZip()
Creates a zip file of the album
d
- debugLog
- in file functions.php, function debugLog()
Write output to the debug log Use this for debugging when echo statements would come before headers are sent or would create havoc in the HTML.
- debugLogArray
- in file functions.php, function debugLogArray()
"print_r" equivalent for the debug log
- debugLogBacktrace
- in file functions.php, function debugLogBacktrace()
Logs the calling stack
- DEBUG_ERROR
- in file functions.php, constant DEBUG_ERROR
- DEBUG_LOGIN
- in file functions.php, constant DEBUG_LOGIN
- DEFAULT_3GP_HEIGHT
- in file template-functions.php, constant DEFAULT_3GP_HEIGHT
- DEFAULT_3GP_WIDTHT
- in file template-functions.php, constant DEFAULT_3GP_WIDTHT
- DEFAULT_MOV_HEIGHT
- in file template-functions.php, constant DEFAULT_MOV_HEIGHT
- DEFAULT_MOV_WIDTH
- in file template-functions.php, constant DEFAULT_MOV_WIDTH
- dircopy
- in file functions.php, function dircopy()
Copies a directory recursively
- dirsize
- in file functions.php, function dirsize()
Get the size of a directory.
e
- EDIT_RIGHTS
- in file functions.php, constant EDIT_RIGHTS
f
- filterTags
- in file functions.php, function filterTags()
Trims the tag values and eliminates duplicates.
- fnmatch
- in file functions.php, function fnmatch()
pattern match function in case it is not included in PHP
- FULLWEBPATH
- in file functions.php, constant FULLWEBPATH
- functions.php
- procedural page functions.php
g
- galleryAlbumsPerPage
- in file functions.php, function galleryAlbumsPerPage()
Returns the number of album thumbs that go on a gallery page
- generateCaptcha
- in file functions.php, function generateCaptcha()
generates a simple captcha for comments
- generateListFromArray
- in file functions.php, function generateListFromArray()
Creates the body of a select list
- generateListFromFiles
- in file functions.php, function generateListFromFiles()
Generates a selection list from files found on disk
- getAdminEmail
- in file functions.php, function getAdminEmail()
Returns the email addresses of the Admin with ADMIN_USERS rights
- getAdministrators
- in file functions.php, function getAdministrators()
Returns an array of admin users, indexed by the userid
- getAlbumArray
- in file functions.php, function getAlbumArray()
getAlbumArray - returns an array of folder names corresponding to the given album string.
- getAlbumCustomData
- in file template-functions.php, function getAlbumCustomData()
Returns the custom_data field of the current album
- getAlbumData
- in file template-functions.php, function getAlbumData()
A composit for getting album data
- getAlbumDate
- in file template-functions.php, function getAlbumDate()
Returns the formatted date field of the album
- getAlbumDesc
- in file template-functions.php, function getAlbumDesc()
Returns the raw description of the current album.
- getAlbumFolder
- in file functions.php, function getAlbumFolder()
Returns the fully qualified path to the album folders
- getAlbumId
- in file template-functions.php, function getAlbumId()
Returns the record number of the album in the database
- getAlbumLinkURL
- in file template-functions.php, function getAlbumLinkURL()
Returns the album link url of the current album.
- getAlbumPlace
- in file template-functions.php, function getAlbumPlace()
Returns the place of the album.
- getAlbumThumb
- in file template-functions.php, function getAlbumThumb()
Returns the name of the defined album thumbnail image.
- getAlbumTitle
- in file template-functions.php, function getAlbumTitle()
Returns the raw title of the current album.
- getAllDates
- in file template-functions.php, function getAllDates()
Retrieves a list of all unique years & months from the images in the gallery
- getAllSubAlbumIDs
- in file functions.php, function getAllSubAlbumIDs()
Returns an array of album ids whose parent is the folder
- getAllTagsCount
- in file functions.php, function getAllTagsCount()
Returns an array indexed by 'tag' with the element value the count of the tag
- getAllTagsUnique
- in file functions.php, function getAllTagsUnique()
Returns an array of unique tag names
- getAnnotatedAlbumTitle
- in file template-functions.php, function getAnnotatedAlbumTitle()
Returns an album title taged with of Not visible or password protected status
- getAnnotatedImageTitle
- in file template-functions.php, function getAnnotatedImageTitle()
Returns the image title taged with not visible annotation.
- getBareAlbumDesc
- in file template-functions.php, function getBareAlbumDesc()
Returns a text-only description of the current album.
- getBareAlbumTitle
- in file template-functions.php, function getBareAlbumTitle()
Returns a text-only title of the current album.
- getBareGalleryDesc
- in file template-functions.php, function getBareGalleryDesc()
Returns a text-only description of the gallery.
- getBareGalleryTitle
- in file template-functions.php, function getBareGalleryTitle()
Returns a text-only title of the gallery.
- getBareImageDesc
- in file template-functions.php, function getBareImageDesc()
Returns a text-only description of the current image.
- getBareImageTitle
- in file template-functions.php, function getBareImageTitle()
Returns a text-only title of the current image.
- getCommentAuthorEmail
- in file template-functions.php, function getCommentAuthorEmail()
Returns the comment author's email
- getCommentAuthorName
- in file template-functions.php, function getCommentAuthorName()
Returns the comment author's name
- getCommentAuthorSite
- in file template-functions.php, function getCommentAuthorSite()
Returns the comment author's website
- getCommentBody
- in file template-functions.php, function getCommentBody()
Returns the body of the current comment
- getCommentCount
- in file template-functions.php, function getCommentCount()
Retuns the count of comments on the current image
- getCommentDate
- in file template-functions.php, function getCommentDate()
Retrieves the date of the current comment Returns a formatted date
- getCommentsAllowed
- in file template-functions.php, function getCommentsAllowed()
Returns true if neither the album nor the image have comments closed
- getCommentStored
- in file template-functions.php, function getCommentStored()
Returns the data from the last comment posted
- getCommentTime
- in file template-functions.php, function getCommentTime()
Retrieves the time of the current comment
- getCurrentPage
- in file template-functions.php, function getCurrentPage()
Returns the number of albums without printing it.
- getCustomAlbumThumb
- in file template-functions.php, function getCustomAlbumThumb()
Returns a link to a custom sized thumbnail of the current album
- getCustomAlbumThumbMaxSpace
- in file template-functions.php, function getCustomAlbumThumbMaxSpace()
Returns a link to a uncropped custom sized version of the current album thumb within the given height and width dimensions.
- getCustomImageURL
- in file template-functions.php, function getCustomImageURL()
Returns the url to the image in that dimensions you define with this function.
- getCustomPageURL
- in file template-functions.php, function getCustomPageURL()
Produces the url to a custom page (e.g. one that is not album.php, image.php, or index.php)
- getCustomSizedImageMaxSpace
- in file template-functions.php, function getCustomSizedImageMaxSpace()
Returns a link to a uncropped custom sized version of the current image within the given height and width dimensions.
- getDefaultHeight
- in file template-functions.php, function getDefaultHeight()
Returns the height of the default-sized image (in printDefaultSizedImage)
- getDefaultSizedImage
- in file template-functions.php, function getDefaultSizedImage()
Returns the url to the default sized image.
- getDefaultWidth
- in file template-functions.php, function getDefaultWidth()
The width of the default-sized image (in printDefaultSizedImage)
- getEnabledPlugins
- in file functions.php, function getEnabledPlugins()
Returns an array of the currently enabled plugins
- getFirstImageURL
- in file template-functions.php, function getFirstImageURL()
Returns the url of the first image in current album.
- getFullHeight
- in file template-functions.php, function getFullHeight()
Returns the height of the original image
- getFullImageURL
- in file template-functions.php, function getFullImageURL()
Returns the url to original image.
- getFullWidth
- in file template-functions.php, function getFullWidth()
Returns the width of the original image
- getGalleryDesc
- in file template-functions.php, function getGalleryDesc()
Returns the raw description of the gallery.
- getGalleryIndexURL
- in file template-functions.php, function getGalleryIndexURL()
Returns the URL of the main gallery page containing the current album
- getGalleryTitle
- in file template-functions.php, function getGalleryTitle()
Returns the raw title of the gallery.
- getImageCacheFilename
- in file functions.php, function getImageCacheFilename()
Returns the path of an image for uses in caching it
- getImageCachePostfix
- in file functions.php, function getImageCachePostfix()
Returns the crop/sizing string to postfix to a cache image
- getImageCity
- in file template-functions.php, function getImageCity()
Returns the City field of the current image
- getImageCountry
- in file template-functions.php, function getImageCountry()
Returns the Country field of the current image
- getImageCustomData
- in file template-functions.php, function getImageCustomData()
Returns the custom_data field of the current image
- getImageData
- in file template-functions.php, function getImageData()
A composit for getting image data
- getImageDate
- in file template-functions.php, function getImageDate()
Returns the image date of the current image in yyyy-mm-dd hh:mm:ss format.
- getImageDesc
- in file template-functions.php, function getImageDesc()
Returns the raw description of the current image.
- getImageEXIFData
- in file template-functions.php, function getImageEXIFData()
Returns the EXIF infromation from the current image
- getImageID
- in file template-functions.php, function getImageID()
Get the unique ID of the current image.
- getImageLinkURL
- in file template-functions.php, function getImageLinkURL()
Returns the url of the current image.
- getImageLocation
- in file template-functions.php, function getImageLocation()
Returns the Location field of the current image
- getImageMetadata
- in file functions.php, function getImageMetadata()
Parces IPTC data and returns those tags zenphoto is interested in folds multiple tags into single zp data items based on precedence.
- getImageParameters
- in file functions.php, function getImageParameters()
Validates and edits image size/cropping parameters
- getImageSortOrder
- in file template-functions.php, function getImageSortOrder()
Get the sort order of this image.
- getImageState
- in file template-functions.php, function getImageState()
Returns the State field of the current image
- getImageThumb
- in file template-functions.php, function getImageThumb()
Returns the url to the thumbnail of the current image.
- getImageTitle
- in file template-functions.php, function getImageTitle()
Returns the raw title of the current image.
- getIPTCTag
- in file functions.php, function getIPTCTag()
For internal use--fetches a single tag from IPTC data
- getIPTCTagArray
- in file functions.php, function getIPTCTagArray()
For internal use--fetches the IPTC array for a single tag.
- getLastImageURL
- in file template-functions.php, function getLastImageURL()
Returns the url of the last image in current album.
- getLatestComments
- in file template-functions.php, function getLatestComments()
Gets latest comments for images and albums
- getMainSiteName
- in file template-functions.php, function getMainSiteName()
Returns the name of the main website as set by the "Website Title" option on the gallery options tab.
- getMainSiteURL
- in file template-functions.php, function getMainSiteURL()
Returns the URL of the main website as set by the "Website URL" option on the gallery options tab.
- getManagedAlbumList
- in file functions.php, function getManagedAlbumList()
Populates and returns the $_zp_admin_album_list array
- getNextAlbum
- in file template-functions.php, function getNextAlbum()
Returns the next album
- getNextAlbumURL
- in file template-functions.php, function getNextAlbumURL()
Get the URL of the next album in the gallery.
- getNextImageThumb
- in file template-functions.php, function getNextImageThumb()
Returns the thumbnail of the next image.
- getNextImageURL
- in file template-functions.php, function getNextImageURL()
Returns the url of the next image.
- getNextPageURL
- in file template-functions.php, function getNextPageURL()
Returns the URL of the next page. Use within If or while loops for pagination.
- getNumAlbums
- in file template-functions.php, function getNumAlbums()
Returns the number of albums.
- getNumImages
- in file template-functions.php, function getNumImages()
Returns the number of images in the album.
- getNumSubalbums
- in file template-functions.php, function getNumSubalbums()
Returns the count of subalbums in the album
- getOption
- in file functions.php, function getOption()
Get a option stored in the database.
- getOptionList
- in file functions.php, function getOptionList()
Retuns the option array
- getPageURL
- in file template-functions.php, function getPageURL()
Returns the URL of the page number passed as a parameter
- getParentAlbums
- in file template-functions.php, function getParentAlbums()
Returns an array of the names of the parents of the current album.
- getPasswordProtectImage
- in file template-functions.php, function getPasswordProtectImage()
Returns an img src link to the password protect thumb substitute
- getPlugin
- in file functions.php, function getPlugin()
Returns the fully qualified "require" file name of the plugin file.
- getPrevAlbum
- in file template-functions.php, function getPrevAlbum()
Returns the previous album
- getPrevAlbumURL
- in file template-functions.php, function getPrevAlbumURL()
Get the URL of the previous album in the gallery.
- getPrevImageThumb
- in file template-functions.php, function getPrevImageThumb()
Returns the thumbnail of the previous image.
- getPrevImageURL
- in file template-functions.php, function getPrevImageURL()
Returns the url of the previous image.
- getPrevPageURL
- in file template-functions.php, function getPrevPageURL()
Returns the URL of the previous page.
- getProtectedAlbumsWhere
- in file template-functions.php, function getProtectedAlbumsWhere()
Returns a where clause for filter password protected album.
- getProtectedImageURL
- in file template-functions.php, function getProtectedImageURL()
Returns an url to the password protected/watermarked current image
- getRandomImages
- in file template-functions.php, function getRandomImages()
Returns a randomly selected image from the gallery. (May be NULL if none exists)
- getRandomImagesAlbum
- in file template-functions.php, function getRandomImagesAlbum()
Returns a randomly selected image from the album or its subalbums. (May be NULL if none exists)
- getRSSHeaderLink
- in file template-functions.php, function getRSSHeaderLink()
Returns the RSS link for use in the HTML HEAD
- getSearchDate
- in file template-functions.php, function getSearchDate()
Returns the date of the search
- getSearchURL
- in file template-functions.php, function getSearchURL()
Returns a search URL
- getSearchWords
- in file template-functions.php, function getSearchWords()
Returns the a sanitized version of the search string
- getSizeCustomImage
- in file template-functions.php, function getSizeCustomImage()
Returns a link to a custom sized version of he current image
- getSizeDefaultImage
- in file template-functions.php, function getSizeDefaultImage()
Returns an array [width, height] of the default-sized image.
- getSizedImageURL
- in file template-functions.php, function getSizedImageURL()
Returns a link to the current image custom sized to $size
- getSizeFullImage
- in file template-functions.php, function getSizeFullImage()
Returns an array [width, height] of the original image.
- getTags
- in file template-functions.php, function getTags()
Returns a list of tags for either an image or album, depends on the page called from
- getTheme
- in file template-functions.php, function getTheme()
Finds the name of the themeColor option selected on the admin options tab Returns a path and name of the theme css file. Returns the value passed for defaultcolor if the theme css option file does not exist.
- getTotalImagesIn
- in file template-functions.php, function getTotalImagesIn()
Returns the count of all the images in the album and any subalbums
- getTotalPages
- in file template-functions.php, function getTotalPages()
Returns the number of pages for the current object
- getUnprotectedImageURL
- in file template-functions.php, function getUnprotectedImageURL()
Returns the "raw" url to the image in the albums folder
- getUrAlbum
- in file functions.php, function getUrAlbum()
Returns the oldest ancestor of an alubm;
- getURL
- in file template-functions.php, function getURL()
Returns the URL to an image (This is NOT the URL for the image.php page)
h
- handleSearchParms
- in file functions.php, function handleSearchParms()
recovers search parameters from stored cookie, clears the cookie
- hasDyanmicAlbumSuffix
- in file functions.php, function hasDyanmicAlbumSuffix()
Returns true if the file has the dynamic album suffix
- hasNextImage
- in file template-functions.php, function hasNextImage()
True if there is a next image
- hasNextPage
- in file template-functions.php, function hasNextPage()
Returns true if there is a next page
- hasPrevImage
- in file template-functions.php, function hasPrevImage()
True if there is a previous image
- hasPrevPage
- in file template-functions.php, function hasPrevPage()
Returns TRUE if there is a previous page. Use within If or while loops for pagination.
- hitcounter
- in file template-functions.php, function hitcounter()
Increments (optionally) and returns the hitcounter if a page is viewed (image.php and album.php only).
- htmlspecialchars_decode
- in file functions.php, function htmlspecialchars_decode()
Decodes HTML Special Characters. Function for backwards compatability with PHP 4.1.
- html_encode
- in file functions.php, function html_encode()
encodes a pre-sanitized string to be used in an HTML text-only field (value, alt, title, etc.)
i
- IMAGE
- in file template-functions.php, constant IMAGE
- imageNumber
- in file template-functions.php, function imageNumber()
Returns the 'n' of n of m images
- isAlbumPage
- in file template-functions.php, function isAlbumPage()
Returns true if this page has album thumbs on it
- isImagePage
- in file template-functions.php, function isImagePage()
Returns true if this page has image thumbs on it
- isImagePhoto
- in file template-functions.php, function isImagePhoto()
Returns true if the image is a standard photo type
- isImageVideo
- in file template-functions.php, function isImageVideo()
Returns video argument of the current Image.
- isLandscape
- in file template-functions.php, function isLandscape()
Returns true if the image is landscape-oriented (width is greater than height)
- isMyAlbum
- in file functions.php, function isMyAlbum()
Checks to see if the loggedin Admin has rights to the album
- isValidURL
- in file functions.php, function isValidURL()
Checks to see if a URL is valid
- is_objectsThumb
- in file functions.php, function is_objectsThumb()
Check if the image is a video thumb
- is_valid_email_zp
- in file functions.php, function is_valid_email_zp()
Determines if the input is an e-mail address. Adapted from WordPress.
- is_valid_image
- in file functions.php, function is_valid_image()
Returns true if the file is an image
- is_valid_other_type
- in file functions.php, function is_valid_other_type()
Returns true if the file is handled by a plugin object
- is_valid_video
- in file functions.php, function is_valid_video()
Returns true fi the file is a video file
j
- js_encode
- in file functions.php, function js_encode()
encodes a pre-sanitized string to be used in a Javascript alert box
m
- MAIN_RIGHTS
- in file functions.php, constant MAIN_RIGHTS
- makeAlbumCurrent
- in file template-functions.php, function makeAlbumCurrent()
Sets the album passed as the current album
- makeImageCurrent
- in file template-functions.php, function makeImageCurrent()
Sets the image passed as the current image
- mkdir_recursive
- in file functions.php, function mkdir_recursive()
Makes directory recursively, returns TRUE if exists or was created sucessfuly.
- myts_date
- in file functions.php, function myts_date()
Simple mySQL timestamp formatting function.
- my_truncate_string
- in file template-functions.php, function my_truncate_string()
Shortens a string to $length
n
- newImage
- in file functions.php, function newImage()
Returns a new "image" object based on the file extension
- next_album
- in file template-functions.php, function next_album()
WHILE next_album(): context switches to Album.
- next_comment
- in file template-functions.php, function next_comment()
Iterate through comments; use the ZP_COMMENT context.
- next_image
- in file template-functions.php, function next_image()
Returns the next image on a page.
- normalizeColumns
- in file template-functions.php, function normalizeColumns()
Passed # of album columns, # of image columns of the theme.
- NO_RIGHTS
- in file functions.php, constant NO_RIGHTS
o
- OFFSET_PATH
- in file functions.php, constant OFFSET_PATH
- openedForComments
- in file template-functions.php, function openedForComments()
Checks to see if comment posting is allowed for an image/album Returns true if comment posting should be allowed
- OPTIONS_RIGHTS
- in file functions.php, constant OPTIONS_RIGHTS
p
- pageError
- in file functions.php, function pageError()
Emits a page error. Used for attempts to bypass password protection
- parseAllowedTags
- in file functions.php, function parseAllowedTags()
parses the allowed HTML tags for use by htmLawed
- parseThemeDef
- in file functions.php, function parseThemeDef()
Parses and sanitizes Theme definition text
- parse_size
- in file functions.php, function parse_size()
Parses a byte size from a size value (eg: 100M) for comparison.
- pathurlencode
- in file functions.php, function pathurlencode()
rawurlencode function that is path-safe (does not encode /)
- PLUGIN_FOLDER
- in file functions.php, constant PLUGIN_FOLDER
- postComment
- in file functions.php, function postComment()
Generic comment adding routine. Called by album objects or image objects to add comments.
- prepIPTCString
- in file functions.php, function prepIPTCString()
- printAdminLink
- in file template-functions.php, function printAdminLink()
Prints the admin edit link for albums if the current user is logged-in
- printAdminToolbox
- in file template-functions.php, function printAdminToolbox()
Prints the clickable drop down toolbox on any theme page with generic admin helpers
- printAlbumBreadcrumb
- in file template-functions.php, function printAlbumBreadcrumb()
prints the breadcrumb item for the current images's album
- printAlbumCustomData
- in file template-functions.php, function printAlbumCustomData()
Prints the custom_data field of the current album.
- printAlbumData
- in file template-functions.php, function printAlbumData()
Prints arbitrary data from the album object
- printAlbumDate
- in file template-functions.php, function printAlbumDate()
Returns the date of the current album
- printAlbumDesc
- in file template-functions.php, function printAlbumDesc()
Prints an encapsulated description of the current album.
- printAlbumLink
- in file template-functions.php, function printAlbumLink()
Prints the album link url of the current album.
- printAlbumPlace
- in file template-functions.php, function printAlbumPlace()
Prints the place of the album.
- printAlbumThumbImage
- in file template-functions.php, function printAlbumThumbImage()
Prints the album thumbnail image.
- printAlbumTitle
- in file template-functions.php, function printAlbumTitle()
Prints an encapsulated title of the current album.
- printAlbumZip
- in file template-functions.php, function printAlbumZip()
Creates an URL for to download of a zipped copy of the current album
- printAllDates
- in file template-functions.php, function printAllDates()
Prints a compendum of dates and links to a search page that will show results of the date
- printAllTagsAs
- in file template-functions.php, function printAllTagsAs()
Either prints all of the galleries tgs as a UL list or a cloud
- printCaptcha
- in file template-functions.php, function printCaptcha()
Simple captcha for comments.
- printCommentAuthorLink
- in file template-functions.php, function printCommentAuthorLink()
Prints a link to the author
- printCommentErrors
- in file template-functions.php, function printCommentErrors()
Tool to put an out error message if a comment possting was not accepted
- printCustomAlbumThumbImage
- in file template-functions.php, function printCustomAlbumThumbImage()
Prints a link to a custom sized thumbnail of the current album
- printCustomAlbumThumbMaxSpace
- in file template-functions.php, function printCustomAlbumThumbMaxSpace()
Prints a uncropped custom sized album thumb within the given height and width dimensions.
- printCustomPageURL
- in file template-functions.php, function printCustomPageURL()
Prints the url to a custom page (e.g. one that is not album.php, image.php, or index.php)
- printCustomSizedImage
- in file template-functions.php, function printCustomSizedImage()
Print normal video or custom sized images.
- printCustomSizedImageMaxHeight
- in file template-functions.php, function printCustomSizedImageMaxHeight()
CAUTION: This function is considered DEPRACTATED and will probably be removed after 1.2.1.
- printCustomSizedImageMaxSpace
- in file template-functions.php, function printCustomSizedImageMaxSpace()
Print normal video or uncropped within the given height and width dimensions. Use for sized images or thumbnails in an album.
- printDefaultSizedImage
- in file template-functions.php, function printDefaultSizedImage()
Show video player with video loaded or display the image.
- printEditCommentLink
- in file template-functions.php, function printEditCommentLink()
Creates a link to the admin comment edit page for the current comment
- printGalleryDesc
- in file template-functions.php, function printGalleryDesc()
Prints the description of the gallery.
- printGalleryTitle
- in file template-functions.php, function printGalleryTitle()
Prints the title of the gallery.
- printHomeLink
- in file template-functions.php, function printHomeLink()
Prints a link to the 'main website' Only prints the link if the url is not empty and does not point back the the gallery page
- printImageCustomData
- in file template-functions.php, function printImageCustomData()
Prints the custom_data field of the current image.
- printImageData
- in file template-functions.php, function printImageData()
A composit for printing image data
- printImageDate
- in file template-functions.php, function printImageDate()
Prints the data from the current image
- printImageDesc
- in file template-functions.php, function printImageDesc()
Prints the description of the current image.
- printImageDiv
- in file template-functions.php, function printImageDiv()
Print the entire <div> for a thumbnail. If we are in sorting mode, then only the image is inserted, if not, then the hyperlink to the image is also added.
- printImageEXIFData
- in file template-functions.php, function printImageEXIFData()
Prints image data. Deprecated, use printImageMetadata
- printImageID
- in file template-functions.php, function printImageID()
Print the unique ID of the current image.
- printImageLink
- in file template-functions.php, function printImageLink()
Prints the link to the current image.
- printImageMetadata
- in file template-functions.php, function printImageMetadata()
Prints the EXIF data of the current image
- printImageSortOrder
- in file template-functions.php, function printImageSortOrder()
Print the sort order of this image.
- printImageThumb
- in file template-functions.php, function printImageThumb()
- printImageTitle
- in file template-functions.php, function printImageTitle()
Prints an encapsulated title of the current image.
- printLatestComments
- in file template-functions.php, function printLatestComments()
Prints out latest comments for images and albums
- printLink
- in file functions.php, function printLink()
General link printing function
- printNextPageLink
- in file template-functions.php, function printNextPageLink()
Prints the URL of the next page.
- printPageList
- in file template-functions.php, function printPageList()
Prints a list of all pages.
- printPageListWithNav
- in file template-functions.php, function printPageListWithNav()
Prints a full page navigation including previous and next page links with a list of all pages in between.
- printPageNav
- in file template-functions.php, function printPageNav()
Prints a page navigation including previous and next page links
- printParentBreadcrumb
- in file template-functions.php, function printParentBreadcrumb()
Prints the breadcrumb navigation for album, gallery and image view.
- printPasswordForm
- in file template-functions.php, function printPasswordForm()
Prints the album password form
- printPreloadScript
- in file template-functions.php, function printPreloadScript()
Prints out the javascript to preload the next and previous images
- printPrevPageLink
- in file template-functions.php, function printPrevPageLink()
Returns the URL of the previous page.
- printRandomImages
- in file template-functions.php, function printRandomImages()
Puts up random image thumbs from the gallery
- printRSSHeaderLink
- in file template-functions.php, function printRSSHeaderLink()
Prints the RSS link for use in the HTML HEAD
- printRSSLink
- in file template-functions.php, function printRSSLink()
Prints a RSS link
- printSearchForm
- in file template-functions.php, function printSearchForm()
Prints the search form
- printSizedImageLink
- in file template-functions.php, function printSizedImageLink()
Prints link to an image of specific size
- printSortableAlbumLink
- in file template-functions.php, function printSortableAlbumLink()
Print a link that allows the user to sort the current album if they are logged in.
- printSortableGalleryLink
- in file template-functions.php, function printSortableGalleryLink()
Print a link that allows the user to sort the Gallery if they are logged in.
- printSubalbumAdmin
- in file template-functions.php, function printSubalbumAdmin()
Prints the admin edit link for subalbums if the current user is logged-in
- printTags
- in file template-functions.php, function printTags()
Prints a list of tags, editable by admin
- printVersion
- in file template-functions.php, function printVersion()
Prints the zenphoto version string
- PROTOCOL
- in file functions.php, constant PROTOCOL
q
- quoteSearchTag
- in file template-functions.php, function quoteSearchTag()
Returns a "quoted" Tag.
r
- readTags
- in file functions.php, function readTags()
Retrieves the tags for an album/image Returns them in an array
- rewrite_get_album_image
- in file functions.php, function rewrite_get_album_image()
rewrite_get_album_image - Fix special characters in the album and image names if mod_rewrite is on: This is redundant and hacky; we need to either make the rewriting completely internal, or fix the bugs in mod_rewrite. The former is probably a good idea.
- rewrite_path
- in file functions.php, function rewrite_path()
Returns either the rewrite path or the plain, non-mod_rewrite path based on the mod_rewrite option in zp-config.php.
s
- safe_glob
- in file functions.php, function safe_glob()
Provide an alternative to glob if the ISP has disabled it To enable the alternative, change the SAFE_GLOB define at the front to functions.php
- SAFE_GLOB
- in file functions.php, constant SAFE_GLOB
- SAFE_MODE_ALBUM_SEP
- in file functions.php, constant SAFE_MODE_ALBUM_SEP
- sanitize
- in file functions.php, function sanitize()
Make strings generally clean. Takes an input string and cleans out null-bytes, slashes (if magic_quotes_gpc is on), and optionally use KSES library to prevent XSS attacks and other malicious user input.
- sanitize_numeric
- in file functions.php, function sanitize_numeric()
Checks if the input is numeric, rounds if so, otherwise returns false.
- sanitize_path
- in file functions.php, function sanitize_path()
Takes user input meant to be used within a path to a file or folder and removes anything that could be insecure or malicious, or result in duplicate representations for the same physical file.
- sanitize_string
- in file functions.php, function sanitize_string()
returns a sanitized string for the sanitize function
- saveAdmin
- in file functions.php, function saveAdmin()
Saves an admin user's settings
- SERVERCACHE
- in file functions.php, constant SERVERCACHE
- SERVERPATH
- in file functions.php, constant SERVERPATH
- setAlbumCustomData
- in file template-functions.php, function setAlbumCustomData()
Sets the album custom_data field
- setBoolOption
- in file functions.php, function setBoolOption()
Converts a boolean value to 1 or 0 and sets the option with it
- setImageCustomData
- in file template-functions.php, function setImageCustomData()
Sets the image custom_data field
- setOption
- in file functions.php, function setOption()
Stores an option value.
- setOptionDefault
- in file functions.php, function setOptionDefault()
Sets the default value of an option.
- setupTheme
- in file functions.php, function setupTheme()
Returns the theme folder If there is an album theme, loads the theme options.
- size_readable
- in file functions.php, function size_readable()
Return human readable sizes From: http://aidan.dotgeek.org/lib/
- sortAlbumArray
- in file functions.php, function sortAlbumArray()
Sort the album array based on either according to the sort key.
- sortByMultilingual
- in file functions.php, function sortByMultilingual()
Sorts the results of a DB search by the current locale title string
- sortMultiArray
- in file functions.php, function sortMultiArray()
multidimensional array column sort
- storeTags
- in file functions.php, function storeTags()
Stores tags for an album/image
- subalbumSortKey
- in file functions.php, function subalbumSortKey()
Returns the DB key associated with the subalbum sort type
w
- WEBPATH
- in file functions.php, constant WEBPATH
z
- ZENFOLDER
- in file functions.php, constant ZENFOLDER
- zenJavascript
- in file template-functions.php, function zenJavascript()
Print any Javascript required by zenphoto. Every theme should include this somewhere in its <head>.
- ZENPAGE_RIGHTS
- in file functions.php, constant ZENPAGE_RIGHTS
- zen_search_script
- in file template-functions.php, function zen_search_script()
Emits the javascript for the search form
- zipAddSubalbum
- in file functions.php, function zipAddSubalbum()
Adds a subalbum to the zipfile being created
- zpFormattedDate
- in file functions.php, function zpFormattedDate()
Returns a formated date for output
- zp_error
- in file functions.php, function zp_error()
Formats an error message If DEBUG_ERROR is set, supplies the calling sequence
- zp_getCookie
- in file functions.php, function zp_getCookie()
Returns the value of a cookie from either the cookies or from $_SESSION[]
- zp_mail
- in file functions.php, function zp_mail()
Send an mail to the admin user(s). We also attempt to intercept any form injection attacks by slime ball spammers.
- zp_setCookie
- in file functions.php, function zp_setCookie()
Sets a cookie both in the browser cookies and in $_SESSION[]
|
|