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 OAuthRequest

Located at zp-extensions/common/oAuth/OAuth.php
Methods summary
public
# __construct( $http_method, $http_url, $parameters = NULL )
public static
# from_request( $http_method = NULL, $http_url = NULL, $parameters = NULL )

attempt to build up a request from what was passed to the server

attempt to build up a request from what was passed to the server

public static
# from_consumer_and_token( $consumer, $token, $http_method, $http_url, $parameters = NULL )

pretty much a helper function to set up the request

pretty much a helper function to set up the request

public
# set_parameter( $name, $value, $allow_duplicates = true )
public
# get_parameter( $name )
public
# get_parameters( )
public
# unset_parameter( $name )
public string
# get_signable_parameters( )

The request parameters, sorted and concatenated into a normalized string.

The request parameters, sorted and concatenated into a normalized string.

Returns

string
public
# get_signature_base_string( )

Returns the base string of this request

Returns the base string of this request

The base string defined as the method, the url and the parameters (normalized), each urlencoded and the concated with &.

public
# get_normalized_http_method( )

just uppercases the http method

just uppercases the http method

public
# get_normalized_http_url( )

parses the url and rebuilds it to be scheme://host/path

parses the url and rebuilds it to be scheme://host/path

public
# to_url( )

builds a url usable for a GET request

builds a url usable for a GET request

public
# to_postdata( )

builds the data one would send in a POST request

builds the data one would send in a POST request

public
# to_header( $realm = null )

builds the Authorization: header

builds the Authorization: header

public
# __toString( )
public
# sign_request( $signature_method, $consumer, $token )
public
# build_signature( $signature_method, $consumer, $token )
Properties summary
public $base_string
#
public static string $version
# '1.0'
public static string $POST_INPUT
# 'php://input'
Zenphoto doc API documentation generated by ApiGen