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

  • AMFReader
  • AMFStream
  • Auth_OpenID_PAPE_Request
  • Auth_OpenID_PAPE_Response
  • Auth_OpenID_ServiceEndpoint
  • Auth_Yadis_ProxyResolver
  • AVCSequenceParameterSetReader
  • exampleMacros
  • favorites
  • fieldExtender
  • 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
  • HTML
  • internal_deprecations
  • Mobile_Detect
  • OAuthConsumer
  • OAuthDataStore
  • OAuthRequest
  • OAuthServer
  • OAuthSignatureMethod
  • OAuthSignatureMethod_HMAC_SHA1
  • OAuthSignatureMethod_PLAINTEXT
  • OAuthSignatureMethod_RSA_SHA1
  • OAuthToken
  • OAuthUtil
  • PclZip
  • PlainText
  • ReCaptchaResponse
  • rewriteRules
  • RSS_internal_deprecations
  • Services_JSON_Error
  • TextObject_internal_deprecations
  • tinyURL
  • TwitterOAuth
  • UploadHandler
  • userAddressFields
  • Video_internal_deprecations
  • Zenpage_internal_deprecations
  • ZipStream
  • zpLegacySpam

Exceptions

  • getid3_exception
  • JSMin_UnterminatedCommentException
  • JSMin_UnterminatedRegExpException
  • JSMin_UnterminatedStringException
  • OAuthExcept

Functions

  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • addalbumsToDatabase
  • addCategoriesToDatabase
  • addItem
  • addPagesToDatabase
  • addPluginScript
  • addPluginType
  • addSubalbumMenus
  • Auth_OpenID_arrangeByType
  • Auth_OpenID_bestMatchingService
  • Auth_OpenID_discover
  • Auth_OpenID_discoverURI
  • Auth_OpenID_discoverWithoutYadis
  • Auth_OpenID_discoverWithYadis
  • Auth_OpenID_discoverXRI
  • Auth_OpenID_findOPLocalIdentifier
  • Auth_OpenID_getOpenIDConsumerTypeURIs
  • Auth_OpenID_getOpenIDTypeName
  • Auth_OpenID_getOpenIDTypeURIs
  • Auth_OpenID_getOPOrUserServices
  • Auth_OpenID_makeOpenIDEndpoints
  • Auth_Yadis_getIPrivateChars
  • Auth_Yadis_pct_escape_unicode
  • Auth_Yadis_startswith
  • checkForPassword
  • checkNewsAccess
  • checkNewsCategoryPassword
  • checkPagePassword
  • comment_form_addComment
  • comment_form_handle_comment
  • comment_form_PaginationJS
  • comment_form_postcomment
  • comment_form_print10Most
  • comment_form_visualEditor
  • commentFormUseCaptcha
  • commentReply
  • countArticles
  • countCombiNews
  • db_affected_rows
  • db_close
  • db_collation
  • db_connect
  • 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_num_rows
  • db_permissions
  • db_quote
  • db_setSQLmode
  • db_show
  • db_software
  • db_table_update
  • db_truncate_table
  • deleteItem
  • detect_fetcher
  • detect_math
  • detect_query_corruption
  • detect_random
  • detect_stores
  • detect_xml
  • displayError
  • doIncludes
  • escape
  • filter_MatchesAnyOpenIDConsumerType
  • filter_MatchesAnyOpenIDType
  • formatList
  • generateCaptcha
  • getAlbumId
  • getAlbumLinkURL
  • getAlbumPlace
  • getAllArticleDates
  • getAllCategories
  • getAllSubalbums
  • getArticles
  • getBareNewsAlbumTitle
  • getCategory
  • getCategoryID
  • getCategoryLink
  • getCategoryParentID
  • getCategorySortOrder
  • getCategoryTitle
  • getCombiNews
  • getCommentAddress
  • getCommentAuthorEmail
  • getCommentAuthorLink
  • getCommentAuthorName
  • getCommentAuthorSite
  • getCommentBody
  • getCommentCount
  • getCommentDate
  • getCommentDateTime
  • getCommentErrors
  • getCommentsAllowed
  • getCommentStored
  • getCommentTime
  • getConsumer
  • getCurrentNewsCategory
  • getCurrentNewsCategoryID
  • getCurrentNewsCategoryParentID
  • getCurrentNewsPage
  • getDownloadLink
  • getFirstImageURL
  • getFullNewsImage
  • getImageEXIFData
  • getImageID
  • getImageLinkURL
  • getImageProcessorURIFromCacheName
  • getImageSortOrder
  • getLastImageURL
  • getLatestComments
  • getLink
  • getMenuSetSelector
  • getMimeString
  • getNewsAlbumName
  • getNewsAlbumTitle
  • getNewsAlbumURL
  • getNewsCategoryPath
  • getNewsContentShorten
  • getNewsImageTags
  • getNewsLink
  • getNewsTitleLink
  • getNewsTitlePath
  • getNewsType
  • getNewsVideoContent
  • getNumSubalbums
  • getOpenIDURL
  • getPageLinkPath
  • getPageLinkURL
  • getPages
  • getParentItems
  • getParentNewsCategories
  • getParentPages
  • getPHPFiles
  • getReturnTo
  • getRSSHeaderLink
  • getScheme
  • getStore
  • getSubCategories
  • getTheme
  • getTitle
  • getTotalArticles
  • getTrustRoot
  • getURL
  • getZenpageHitcounter
  • getZenpageRSSHeaderLink
  • getZenpageRSSLink
  • hitcounter
  • imageBlurGD
  • inNewsCategory
  • inProtectedNewsCategory
  • inSubNewsCategoryOf
  • is_GalleryNewsType
  • is_NewsType
  • is_valid_image
  • is_valid_other_type
  • isMyAlbum
  • isMyNews
  • isMyPage
  • isProtectedAlbum
  • isProtectedNewsCategory
  • isProtectedPage
  • isSubNewsCategoryOf
  • jQueryUpload_head
  • jQueryUpload_headers
  • 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
  • listDBUses
  • listUses
  • my_truncate_string
  • next_comment
  • normalizeColumns
  • openedForComments
  • PclZipUtilCopyBlock
  • PclZipUtilOptionText
  • PclZipUtilPathInclusion
  • PclZipUtilPathReduction
  • PclZipUtilRename
  • PclZipUtilTranslateWinPath
  • printAdminToolbox
  • printAlbumLink
  • printAlbumMap
  • printAlbumPlace
  • printAlbumRating
  • printAlbumsSelector
  • printAlbumZip
  • printCaptcha
  • printCommentAuthorLink
  • printCommentErrors
  • printCustomPageSelector
  • printCustomSizedImageMaxHeight
  • printDownloadLink
  • printDownloadLinkAlbumZip
  • printEditable
  • printEditCommentLink
  • printFavoritesLink
  • printField
  • printImageDiv
  • printImageEXIFData
  • printImageID
  • printImageLink
  • printImageMap
  • printImageRating
  • printImageSortOrder
  • printItemEditLink
  • printItemsList
  • printItemsListTable
  • printItemStatusDropdown
  • printjCarouselThumbNav
  • printLatestComments
  • printLatestZenpageComments
  • printLink
  • printNewsImageTags
  • printNewsLink
  • printNewsReadMoreLink
  • printNewsTitleLink
  • printNextPageLink
  • printPageLinkURL
  • printParentPagesBreadcrumb
  • printPreloadScript
  • printPrevPageLink
  • printSizedImageLink
  • printSlideShow
  • printSlideShowJS
  • printSlideShowLink
  • printThumbNav
  • printZenpageNewsCategorySelector
  • printZenpagePagesSelector
  • printZenpageRSSHeaderLink
  • printZenpageRSSLink
  • processExpired
  • processMenuBulkActions
  • publishItem
  • query
  • query_full_array
  • query_single_row
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • recordMissing
  • resetCurrentAlbum
  • rewrite_path_zenpage
  • rulesList
  • run
  • setAlbumCustomData
  • setImageCustomData
  • setPluginDomain
  • setThemeDomain
  • setupAllowedMaps
  • storeConfig
  • unpublishedZenphotoItemCheck
  • unpublishSubalbums
  • updateCacheName
  • updateConfigItem
  • updateItemsSortorder
  • updateMenuItem
  • upload_extra
  • upload_form
  • upload_head
  • zenJavascript
  • zenpageHitcounter
  • zenpageOpenedForComments
  • zp_colorAllocate
  • zp_copyCanvas
  • zp_createImage
  • zp_drawRectangle
  • zp_getFonts
  • zp_graphicsLibInfo
  • 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_resampleImage
  • zp_rotateImage
  • zp_writeString
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class favorites

This is the class declaration

PersistentObject
Extended by ThemeObject
Extended by MediaObject
Extended by AlbumBase
Extended by favorites
Located at zp-extensions/favoritesHandler/favoritesClass.php
Methods summary
public
# __construct( $user )

Class instantiator

Class instantiator

Overrides

AlbumBase::__construct()
protected
# getInstance( )
public
# getList( )
public
# getOwner( )

Owner functions

Owner functions

Overrides

AlbumBase::getOwner()
public
# addImage( $img )
public
# removeImage( $img )
public
# addAlbum( $alb )
public
# removeAlbum( $alb )
public static
# getWatchers( $obj )
public static
# showWatchers( $html, $obj, $prefix )
public array
# getAlbums( string $page = 0, string $sorttype = null, string $sortdirection = null, boolean $care = true, boolean $mine = NULL )

Returns all folder names for all the subdirectories.

Returns all folder names for all the subdirectories.

Parameters

$page
Which page of subalbums to display.
$sorttype
The sort strategy
$sortdirection
The direction of the sort
$care
set to false if the order does not matter
$mine
set true/false to override ownership

Returns

array

Overrides

AlbumBase::getAlbums()
public array
# getImages( string $page = 0, integer $firstPageCount = 0, string $sorttype = null, string $sortdirection = null, boolean $care = true, boolean $mine = NULL )

Returns a of a slice of the images for this album. They will also be sorted according to the sort type of this album, or by filename if none has been set.

Returns a of a slice of the images for this album. They will also be sorted according to the sort type of this album, or by filename if none has been set.

Parameters

$page
Which page of images should be returned. If zero, all images are returned.
$firstPageCount
count of images that go on the album/image transition page
$sorttype
optional sort type
$sortdirection
optional sort direction
$care
set to false if the order of the images does not matter
$mine
set true/false to override ownership

Returns

array

Overrides

AlbumBase::getImages()
public static
# loadScript( $script, $request )
public static
# pageCount( $count, $gallery_page, $page )
public static
# toolbox( $zf )
public string
# getLink( string $page = NULL, $instance = NULL )

Returns an URL to the album, including the current page number

Returns an URL to the album, including the current page number

Parameters

$page
if not null, apppend as page #
$instance

Returns

string

Overrides

AlbumBase::getLink()
public static
# ad_removeButton( $obj, $id, $v, $add, $instance, $multi )
Methods inherited from AlbumBase
_move(), albumSubRights(), checkforGuest(), copy(), garbageCollect(), getAlbumLink(), getAlbumSortKey(), getAlbumSortType(), getAlbumTheme(), getAlbumThumb(), getAlbumThumbImage(), getFileName(), getFolder(), getGalleryPage(), getImage(), getImageSortKey(), getLocation(), getNextAlbum(), getNumAlbums(), getNumImages(), getParent(), getParentID(), getPrevAlbum(), getSearchEngine(), getSearchParams(), getSortDirection(), getSortType(), getThumb(), getUpdatedDate(), getWatermark(), getWatermarkThumb(), isDynamic(), isMyItem(), isProtected(), loadFileNames(), move(), preLoad(), remove(), rename(), setAlbumTheme(), setAlbumThumb(), setDefaults(), setLocation(), setOwner(), setSearchParams(), setSortDirection(), setSortType(), setSubalbumSortType(), setThumb(), setUpdatedDate(), setWatermark(), setWatermarkThumb(), sortImageArray(), succeed(), updateParent()
Methods inherited from MediaObject
getDesc(), getExpireDate(), getPassword(), getPasswordHint(), getPublishDate(), getSortOrder(), getUser(), setDesc(), setExpireDate(), setPassword(), setPasswordHint(), setPublishDate(), setSortOrder(), setUser()
Methods inherited from ThemeObject
addComment(), checkAccess(), checkForGuest(), checkPublishDates(), countHit(), getCodeblock(), getCommentCount(), getComments(), getCommentsAllowed(), getCustomData(), getDateTime(), getHitcounter(), getShow(), getTags(), getTitle(), hasTag(), setCodeblock(), setCommentsAllowed(), setCustomData(), setDateTime(), setParentID(), setShow(), setTags(), setTitle()
Methods inherited from PersistentObject
__toString(), get(), getData(), getID(), instantiate(), save(), set()
Properties summary
public $imageSortDirection
#
public $albumSortDirection
#
public $imageSortType
#
public $albumSortType
#
public array $list
# array('')
public $owner
#
public string $instance
# ''
Properties inherited from AlbumBase
$albumthumbnail, $exists, $images, $index, $lastimagesort, $lastsubalbumsort, $linkname, $localpath, $manage_rights, $manage_some_rights, $name, $parent, $parentalbum, $sidecars, $subalbums, $subrights, $view_rights
Properties inherited from ThemeObject
$comments
Properties inherited from PersistentObject
$id, $loaded, $table, $transient
Zenphoto doc API documentation generated by ApiGen