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 fieldExtender

Direct known subclasses

userAddressFields
Located at zp-extensions/common/fieldExtender.php
Methods summary
public
# constructor( array $me, $newfields )

This method establishes the current set of database fields. It will add the fields to the database if they are not already present. Fields from previous constructor calls that are no longer in the list will be removed from the database (along with any data associated with them.)

Parameters

$me
$newfields
$newfields
public static array
# _addToSearch( array $list, $fields )

Updates the list of search fields to include the new fields

Updates the list of search fields to include the new fields

Parameters

$list
the list of fields as known to the search engine
$fields

Returns

array
public static boolean
# _adminSave( boolean $updated, object $userobj, integer $i, boolean $alter, $fields )

Process the save of user object type elements

Process the save of user object type elements

Parameters

$updated
$userobj
$i
$alter
$fields

Returns

boolean
public static string
# _adminEdit( string $html, object $userobj, integer $i, string $background, boolean $current, $fields )

Displays the edit fields for user type objects

Displays the edit fields for user type objects

Parameters

$html
$userobj
$i
$background
$current
$fields

Returns

string
public static
# _mediaItemSave( object $object, integer $i, $fields )

Processes the save of image and album objects

Processes the save of image and album objects

Parameters

$object
$i
$fields
public static string
# _mediaItemEdit( string $html, object $object, integer $i, $fields )

Displays the edit fields for image and album objects

Displays the edit fields for image and album objects

Parameters

$html
$object
$i
$fields

Returns

string
public static string
# _zenpageItemSave( string $custom, object $object, $fields )

Processes the save of zenpage objects

Processes the save of zenpage objects

Parameters

$custom
$object
$fields

Returns

string
public static string
# _zenpageItemEdit( string $html, object $object, $fields )

Displays the edit fields for zenpage objects

Displays the edit fields for zenpage objects

Parameters

$html
$object
$fields

Returns

string
public static
# _register( $me, $fields )

registers filters for handling display and edit of objects as appropriate

registers filters for handling display and edit of objects as appropriate

public static type
# _adminNotice( type $tab, type $subtab, type $me )

Notification of need to run setup

Notification of need to run setup

Parameters

$tab
$subtab
$me

Returns

type
public static array
# _getCustomData( object $obj, array $fields )

Returns an array with the content of the custom fields for the object

Returns an array with the content of the custom fields for the object

Parameters

$obj
$fields

Returns

array
public static
# _setCustomData( $obj, $values )
Zenphoto doc API documentation generated by ApiGen